Re: Software prefetching considered harmful

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

 



* Benjamin Herrenschmidt <benh@xxxxxxxxxxxxxxxxxxx> wrote:

> On Sat, 2011-05-21 at 15:37 +1200, Michael Cree wrote:
> > While this is not a concern to the kernel (it obviously has access to
> > location 0) 
> 
> Not that obvious... dunno how you do your memory map on alpha but on
> most architectures, 0 is userspace even when you're in the kernel and is
> typically not mapped.

Correct, it's like that on x86 as well.

Filtering out NULLs in the prefetch primitives or making sure NULL never gets 
prefetched looks like to be a generally good idea.

Thanks,

	Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-arch" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel]     [Kernel Newbies]     [x86 Platform Driver]     [Netdev]     [Linux Wireless]     [Netfilter]     [Bugtraq]     [Linux Filesystems]     [Yosemite Discussion]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]

  Powered by Linux