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.
> > Help?
> 
> Examples?  I don't know what exactly you're referring to, nor what the
> problem is.

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

    void __free_pages(struct page *page, unsigned int order);
    void free_pages(unsigned long addr, unsigned int order);

Gr{oetje,eeting}s,

                                                Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [EMAIL PROTECTED]

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                                            -- Linus Torvalds

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

Reply via email to