On Thu, Jan 03, 2008 at 05:08:23PM +0100, Geert Uytterhoeven wrote:
> I think he means how to handle the following from include/linux/gfp.h in
> valgrind:
>
> struct page *alloc_pages(gfp_t gfp_mask, unsigned int order);
> unsigned long __get_free_pages(gfp_t gfp_mask, unsigned int order);
On Thu, 3 Jan 2008, Jeff Dike wrote:
> On Wed, Jan 02, 2008 at 02:42:20PM -0800, John Reiser wrote:
> > In particular, I'm confused by allocations
> > which return a "page": either "struct page *", or a "char *" with
> > an aligned group of char of size PAGE_SIZE in the virtual address space.
> > H
On Wed, Jan 02, 2008 at 02:42:20PM -0800, John Reiser wrote:
> It looks more complicated to me.
>
> When include/linux/slab.h is in view, then I trace
> (where indentation indicates logical call [inline, or physical call]):
> kmalloc include/linux/slab.h
> __kmalloc mm/slab.c
> __d
Jeff Dike responded:
John Reiser wrote:
>>The web page http://bitwagon.com/valgrind+uml/index.html
>>now exists with news, history, commentary, scripts, links
> You refer to kmalloc and kfree as keeping object state intact between
> kfree and kmalloc, thus not being semantically the same as mall
On Tue, Jan 01, 2008 at 01:24:49PM -0800, John Reiser wrote:
> The web page http://bitwagon.com/valgrind+uml/index.html
> now exists with news, history, commentary, scripts, links
> on getting User Mode Linux for i686 to run under memcheck on i686.
You refer to kmalloc and kfree as keeping object
The web page http://bitwagon.com/valgrind+uml/index.html
now exists with news, history, commentary, scripts, links
on getting User Mode Linux for i686 to run under memcheck on i686.
A standalone patch http://bitwagon.com/valgrind+uml/mc_main-asap.patch
to valgrind-3.3.0 implements "--complain-as
On Thu, Dec 27, 2007 at 10:38:21AM -0800, John Reiser wrote:
> Patches have been developed which enable UserModeLinux for i686 to
> run under the memcheck tool of Valgrind on i686. Thus it is possible
> to check dynamically the memory accesses made by a running Linux kernel
> against memcheck's mo