Skip to contentSkip to conversation

Oddness in i_shared_lock and page_table_lock nesting hierarchies ?

DISCUSSION [email protected] 2 participants 2 messages Nov 10, 2000

lore
Share & tools
lore
#0 lore raw
Quoted 4 lines

I was looking into the vmm code and trying to work out exactly how to fix this, and there are
some questions in my mind - mainly a few cases (involving multiple vma
updates) which

Quoted 8 lines

I'm not sure about the cleanest way to tackle.
But before I bother anyone with those, I thought I ought to go through
the earlier discussions
that you had while coming up with what the fix should be. Maybe you've
already gone over
this once.
Could you point me to those ? Somehow I haven't been successful in
locating them.

this link might be useful
http://mail.nl.linux.org/linux-mm/2000-07/msg00038.html

Anil Kumar Prasad,
Hardware Design,
IBM Global Services,
Pune,
INDIA
Phone:6349724 , 4007117 extn:1310

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/

#1 lore raw

From: [email protected]
Date: Fri, 10 Nov 2000 12:25:24 +0530

this link might be useful
http://mail.nl.linux.org/linux-mm/2000-07/msg00038.html

This talks about a completely different bug.

We are talking here about inconsistant ordering of lock acquisition when both mapping->i_shared_lock and mm->page_table_lock must be held simultaneously.

The thread you quoted merely mentions the issue we have mm->rss modifications are not always protected properly by the page_table_lock.

There were no previous public discussions about the i_shared_lock/page_table_lock deadlock problems.

Later,
David S. Miller
[email protected]
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/