Messages in this thread |  | | Date | Sat, 20 Jan 2001 11:26:52 -0800 (PST) | From | Linus Torvalds <> | Subject | Re: Is sendfile all that sexy? |
| |
On Sat, 20 Jan 2001 kuznet@ms2.inr.ac.ru wrote: > > Actually, as long as there is no "struct page" there _are_ problems. > > This is why the NUMA stuff was brought up - it would require that there > > be a mem_map for the PCI pages.. (to do ref-counting etc). > > I see. > > Is this strong "no-no-no"? What is obstacle to allow "struct page" > to sit outside of mem_map (in some private table, or as full orphan)? > Only bloat of struct page with reference to some "page_ops" or something > more profound?
There's no no-no here: you can even create the "struct page"s on demand, and create a dummy local zone that contains them that they all point back to. It should be trivial - nobody else cares about those pages or that zone anyway.
This is very much how the MM layer in 2.4.x is set up to work.
That said, nobody has actually done this in practice yet, so there may be details to work out, of course. I don't see any fundamental reasons it wouldn't easily work, but..
Linus
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org Please read the FAQ at http://www.tux.org/lkml/
|  |