[lkml]   [1999]   [Jan]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: Linux and physical memory
       From: Jakub Jelinek <>
    Date: Tue, 19 Jan 1999 08:37:54 +0100 (CET)

    Also, if you add PG_highmem, I bet current page_alloc will suck
    badly (even the way how is PG_dma done now is very unefficient).

    No, it's actually pretty simple. The difference is that PG_dma "must"
    get a PG_dma page. Whereas PG_highmem says such a page is "OK" if
    that is what you happen to find.

    This means that all that is needed is to treat PG_highmem pages as if
    you didn't see them at all if the __get_free_pages() does not say that
    they are ok.

    I don't claim that this will be fast, but it will be simple and work.

    David S. Miller

    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    Please read the FAQ at

     \ /
      Last update: 2005-03-22 13:49    [W:0.030 / U:0.584 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site