Re: x86_64: potential critical issue with quicklists and page table pages

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Linus Torvalds
Date: Friday, September 21, 2007 - 12:21 pm

On Fri, 21 Sep 2007, Christoph Lameter wrote:

Yeah, and the whole thing seems totally bogus. It totally depends on 
mmu_gather doing everything right (which very much includes the dependency 
on mmu gathering disabling preempt).

For exmaple, if we were to go back to the original small tlb_gather with a 
simple quicklist on the stack, rather than the per-cpu datastructure, the 
quicklists would immediately break horribly - simply because they are 
incorrectly now depending on the internal semantics of that tlb-gather.

As it is, the quicklists try to be something separate, but by virtue of 
being separate, they will always be buggy.

The only way to fix it would be to integrate the quicklist stuff *with* 
the mmu_gather stuff, so that these kinds of implementation issues are 
explicitly shown in the relationship, instead of havign two "independent" 
pieces of code where one piece very subtly depends on the exact 
implementation of the other.

		Linus
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
x86_64: potential critical issue with quicklists and page ..., Siddha, Suresh B, (Fri Sep 21, 11:07 am)
Re: x86_64: potential critical issue with quicklists and p ..., Christoph Lameter, (Fri Sep 21, 11:48 am)
Re: x86_64: potential critical issue with quicklists and p ..., Christoph Lameter, (Fri Sep 21, 11:50 am)
Re: x86_64: potential critical issue with quicklists and p ..., Christoph Lameter, (Fri Sep 21, 12:07 pm)
Re: x86_64: potential critical issue with quicklists and p ..., Linus Torvalds, (Fri Sep 21, 12:21 pm)
Re: x86_64: potential critical issue with quicklists and p ..., Christoph Lameter, (Fri Sep 21, 12:26 pm)
Re: x86_64: potential critical issue with quicklists and p ..., Christoph Lameter, (Fri Sep 21, 12:56 pm)
RE: x86_64: potential critical issue with quicklists and p ..., Christoph Lameter, (Fri Sep 21, 1:15 pm)
Re: x86_64: potential critical issue with quicklists and p ..., Benjamin Herrenschmidt, (Mon Sep 24, 2:27 pm)
Re: x86_64: potential critical issue with quicklists and p ..., Christoph Lameter, (Mon Sep 24, 2:42 pm)
Re: x86_64: potential critical issue with quicklists and p ..., Benjamin Herrenschmidt, (Mon Sep 24, 5:09 pm)