Re: [RFC] Don't set/test/wait-for radix tree tags if no capability

Hugh Dickins
2006-09-14T16:20:57Z

On Thu, 14 Sep 2006, Lee Schermerhorn wrote:
>
> So, I guess I shouldn't worry too much about why swapin_readahead() is
> in mm/memory.c instead of one of the mm/swap*.c files, huh?

Don't worry too much about it, indeed; though I agree it'd be much
nicer tucked away somewhere else, near read_swap_cache_async or
near valid_swaphandles or the three brought together.

(But if you do want to worry about swapin_readahead, just savour the
absurdity of its NUMA next_vma code: just what is the likelihood that
swap allocation will match a task's address layout?)

Hugh