I'm working on a research project that involves some kernel hacking --
this is my experience with the linux kernel. A few questions:
In swapin_readadead (mm/memory.c):
new_page = read_swap_cache_async(SWP_ENTRY(SWP_TYPE(entry), offset), 0);
if (new_page != NULL)
__free_page(new_page);
Seems like we are freeing a page just after allocating/reading it! There
must be a reason for this, can someone supply it?
Also, the swapin hook operation that was used by do_swap_page
(mm/memory.c) seems to have vanished in the 2.3.10 patch. Any reason why
this was done?
Please cc me too, lest it get lost in the traffic
-- James Wilson <jwilson@cmu.edu> School of Computer Science Carnegie Mellon University- 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/
This archive was generated by hypermail 2b29 : Wed May 31 2000 - 21:00:16 EST