public inbox for systemtap-cvs@sourceware.org
help / color / mirror / Atom feed
From: hunt@sourceware.org
To: systemtap-cvs@sources.redhat.com
Subject: src/runtime ChangeLog alloc.c map-stat.c map.c ...
Date: Wed, 07 Dec 2005 20:02:00 -0000	[thread overview]
Message-ID: <20051207200205.30049.qmail@sourceware.org> (raw)

CVSROOT:	/cvs/systemtap
Module name:	src
Changes by:	hunt@sourceware.org	2005-12-07 20:02:05

Modified files:
	runtime        : ChangeLog alloc.c map-stat.c map.c map.h 
	                 pmap-gen.c 

Log message:
	2005-12-07  Martin Hunt  <hunt@redhat.com>
	PR1923
	* map.h (struct map_root): Remove membuf.
	(struct pmap): Define.
	(PMAP): Declare.
	
	* map.c (_stp_map_init): Use kmalloc() to allocate individual
	nodes instead of using vmalloc() to allocate one big chunk.
	(_stp_map_new): Use kmalloc.
	(_stp_pmap_new): Use kmalloc. Return a PMAP.
	(__stp_map_del): New function. Free all the nodes in a map.
	(_stp_map_del): Call __stp_map_del() then free map struct.
	(_stp_pmap_del): Takes a PMAP. Calls __stp_map_del() for
	each cpu.
	(_stp_pmap_printn_cpu): Change arg to PMAP.
	(_stp_pmap_agg): Change arg to PMAP.
	(_stp_pmap_get_agg): Change arg to PMAP.
	
	* map-stat.c (_stp_pmap_new_hstat_linear): Use PMAP
	instead of MAP. Fix allocations.
	(_stp_pmap_new_hstat_log): Ditto.
	
	* pmap-gen.c Fix all functions to take or return PMAPS
	instead of MAPS.
	
	* alloc.c: Remove everything except kmalloc_node().
	All runtime code now uses kmalloc() directly.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/runtime/ChangeLog.diff?cvsroot=systemtap&r1=1.87&r2=1.88
http://sourceware.org/cgi-bin/cvsweb.cgi/src/runtime/alloc.c.diff?cvsroot=systemtap&r1=1.10&r2=1.11
http://sourceware.org/cgi-bin/cvsweb.cgi/src/runtime/map-stat.c.diff?cvsroot=systemtap&r1=1.7&r2=1.8
http://sourceware.org/cgi-bin/cvsweb.cgi/src/runtime/map.c.diff?cvsroot=systemtap&r1=1.28&r2=1.29
http://sourceware.org/cgi-bin/cvsweb.cgi/src/runtime/map.h.diff?cvsroot=systemtap&r1=1.18&r2=1.19
http://sourceware.org/cgi-bin/cvsweb.cgi/src/runtime/pmap-gen.c.diff?cvsroot=systemtap&r1=1.5&r2=1.6


             reply	other threads:[~2005-12-07 20:02 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-12-07 20:02 hunt [this message]
  -- strict thread matches above, loose matches on Subject: below --
2005-11-28 22:08 hunt

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20051207200205.30049.qmail@sourceware.org \
    --to=hunt@sourceware.org \
    --cc=systemtap-cvs@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).