On Thu, 2007-12-20 at 16:18 +0100, Peter Zijlstra wrote:
> +static int madvise_willneed_anon_pte(pte_t *ptep,
> + unsigned long start, unsigned long end, void *arg)
> +{
> + struct vm_area_struct *vma = arg;
> + struct page *page;
> +
> + page = read_swap_cache_async(pte_to_swp_entry(*ptep), GFP_KERNEL,
Argh, with HIGHPTE this is done inside a kmap_atomic.
/me goes complicate the code with page pre-allocation..
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]