this race is legit and can happen on SMP systems.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
This commit is contained in:
Ingo Molnar 2008-02-04 16:48:08 +01:00
Родитель bde1965ce8
Коммит 6ce9fc17d9
1 изменённых файлов: 1 добавлений и 3 удалений

Просмотреть файл

@ -356,10 +356,8 @@ static int split_large_page(pte_t *kpte, unsigned long address)
* up for us already:
*/
tmp = lookup_address(address, &level);
if (tmp != kpte) {
WARN_ON_ONCE(1);
if (tmp != kpte)
goto out_unlock;
}
address = __pa(address);
addr = address & PMD_PAGE_MASK;