public inbox for systemtap-cvs@sourceware.org
help / color / mirror / Atom feed
* src/runtime ChangeLog alloc.c map-stat.c map.c ...
@ 2005-12-07 20:02 hunt
  0 siblings, 0 replies; 2+ messages in thread
From: hunt @ 2005-12-07 20:02 UTC (permalink / raw)
  To: systemtap-cvs

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

* src/runtime ChangeLog alloc.c map-stat.c map.c ...
@ 2005-11-28 22:08 hunt
  0 siblings, 0 replies; 2+ messages in thread
From: hunt @ 2005-11-28 22:08 UTC (permalink / raw)
  To: systemtap-cvs

CVSROOT:	/cvs/systemtap
Module name:	src
Changes by:	hunt@sourceware.org	2005-11-28 22:08:40

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

Log message:
	2005-11-28  Martin Hunt  <hunt@redhat.com>
	
	* alloc.c (__stp_valloc_percpu): Use same code for up and smp.
	(_stp_per_cpu_ptr): New macro.
	* user/alloc.c: Ditto.
	* map.c: Use _stp_map_cpu_ptr().
	* map-stat.c: Ditto.
	* pmap-gen.c: Ditto.
	* runtime.h: Include alloc.c
	* user/runtime.h: Ditto.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/runtime/ChangeLog.diff?cvsroot=systemtap&r1=1.84&r2=1.85
http://sourceware.org/cgi-bin/cvsweb.cgi/src/runtime/alloc.c.diff?cvsroot=systemtap&r1=1.9&r2=1.10
http://sourceware.org/cgi-bin/cvsweb.cgi/src/runtime/map-stat.c.diff?cvsroot=systemtap&r1=1.6&r2=1.7
http://sourceware.org/cgi-bin/cvsweb.cgi/src/runtime/map.c.diff?cvsroot=systemtap&r1=1.27&r2=1.28
http://sourceware.org/cgi-bin/cvsweb.cgi/src/runtime/pmap-gen.c.diff?cvsroot=systemtap&r1=1.4&r2=1.5
http://sourceware.org/cgi-bin/cvsweb.cgi/src/runtime/runtime.h.diff?cvsroot=systemtap&r1=1.27&r2=1.28
http://sourceware.org/cgi-bin/cvsweb.cgi/src/runtime/user/alloc.c.diff?cvsroot=systemtap&r1=1.3&r2=1.4
http://sourceware.org/cgi-bin/cvsweb.cgi/src/runtime/user/runtime.h.diff?cvsroot=systemtap&r1=1.8&r2=1.9


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-12-07 20:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-12-07 20:02 src/runtime ChangeLog alloc.c map-stat.c map.c hunt
  -- strict thread matches above, loose matches on Subject: below --
2005-11-28 22:08 hunt

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).