Re: [patch] mm: reduce pagetable-freeing latencies

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> Plan is fixed array or 4 or maybe 8 entries (pointers), that shouldn't
> be -too- bad. The code path I'm a bit worried about is

Yep.

> unmap_mapping_ranges() which goes into zapping page tables from deep
> within filesystems.

Your aim is to conserve stack space? 
The worst case has to work without overflow anyways, so using VLAs don't 
help you. Just allocate the largest size you can safely afford.

This is also easier to test; if it is too large it is better when
the overflow triggers always.

They are more useful in user space with larger stacks when you don't 
know the maximum size.

-Andi

-
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]
  Powered by Linux