lkml.org 
[lkml]   [1999]   [Jan]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Linux and physical memory
   From: Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz>
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.

Later,
David S. Miller
davem@dm.cobaltmicro.com

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:49    [from the cache]
©2003-2014 Jasper Spaans. Advertise on this site