Re: [slubllv5 03/25] slub: Make CONFIG_PAGE_ALLOC work with new fastpath

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

 



Le lundi 16 mai 2011 Ã 15:26 -0500, Christoph Lameter a Ãcrit :
> piÃce jointe document texte brut (fixup)
> Fastpath can do a speculative access to a page that CONFIG_PAGE_ALLOC may have

CONFIG_DEBUG_PAGE_ALLOC

> marked as invalid to retrieve the pointer to the next free object.
> 
> Use probe_kernel_read in that case in order not to cause a page fault.
> 

Some credits would be good, it would certainly help both of us.

Reported-by: Eric Dumazet <eric.dumazet@xxxxxxxxx>

> Signed-off-by: Christoph Lameter <cl@xxxxxxxxx>

Signed-off-by: Eric Dumazet <eric.dumazet@xxxxxxxxx>


> ---
>  mm/slub.c |   14 +++++++++++++-
>  1 file changed, 13 insertions(+), 1 deletion(-)
> 

Thanks


--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@xxxxxxxxxx  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/
Don't email: <a href=mailto:"dont@xxxxxxxxx";> email@xxxxxxxxx </a>


[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]