Re: Software prefetching considered harmful

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

 



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.

Cheers,
Ben.

> I can imagine some neophyte thinking (as I have done myself)
> "I'll look to see how the kernel implements lists and use that because
> it will be both clever and well tested code" without realising that the
> prefetch of a NULL is very inefficient for userspace!
> 
> 

--
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