Re: [PATCH 14/38] Remove struct mm_struct::exe_file et al

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

 




On Sun, 31 May 2009, Andrew Morton wrote:
> 
> It's arbitrary!  If we were to gain more performance benefit by
> aggregating processes under, say, the fs_struct then that's the way the
> kernel would have been implemented.

What?

That's like saying that "if quarks were the size of soccer-balls, we'd all 
be pink".

It makes no sense.

When  you claim that it's arbitrary, you're totally ignoring reality, and 
CPU design.

The fact is, TLB's are very fundamental to task switching. filesystems are 
not. It's that simple. IOW, it's not at all arbitrary, it's a direct 
result of how the world works. The "world" for the kernel is the reality 
of CPU's, and in that reality, TLB switching is a huge factor.

There is nothing arbitrary about it at all.

			Linus
_______________________________________________
Containers mailing list
Containers@xxxxxxxxxxxxxxxxxxxxxxxxxx
https://lists.linux-foundation.org/mailman/listinfo/containers

[Index of Archives]     [Cgroups]     [Netdev]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux