mutex 'levels'

Hello,
What is supposed to happen when you acquire mutexes in the wrong
order (according to your locking heirarchy defined by the ‘level’ parameter
in KeInitializeMutex)? I’ve intentionally violated my hierarchy and
expected a bug check or something, but nothing seemed to happen. Am I
misunderstanding the ‘level’ parameter?

Thanks,
Joel

Did you try this on the checked build?

-----Original Message-----
From: Smith, Joel [mailto:xxxxx@ntpsoftware.com]
Sent: Wednesday, June 21, 2000 11:41 AM
To: File Systems Developers
Subject: [ntfsd] mutex ‘levels’

Hello,
What is supposed to happen when you acquire mutexes in the wrong
order (according to your locking heirarchy defined by the ‘level’ parameter
in KeInitializeMutex)? I’ve intentionally violated my hierarchy and
expected a bug check or something, but nothing seemed to happen. Am I
misunderstanding the ‘level’ parameter?

Thanks,
Joel

Yep.

-----Original Message-----
From: Rob Fuller [mailto:xxxxx@NSISW.COM]
Sent: Wednesday, June 21, 2000 12:53 PM
To: File Systems Developers
Subject: [ntfsd] RE: mutex ‘levels’

Did you try this on the checked build?

-----Original Message-----
From: Smith, Joel [mailto:xxxxx@ntpsoftware.com]
Sent: Wednesday, June 21, 2000 11:41 AM
To: File Systems Developers
Subject: [ntfsd] mutex ‘levels’

Hello,
What is supposed to happen when you acquire mutexes in the wrong
order (according to your locking heirarchy defined by the ‘level’ parameter
in KeInitializeMutex)? I’ve intentionally violated my hierarchy and
expected a bug check or something, but nothing seemed to happen. Am I
misunderstanding the ‘level’ parameter?

Thanks,
Joel

Level is ignored - it is a remnant of an old design exploration.

-----Original Message-----
From: Smith, Joel [mailto:xxxxx@ntpsoftware.com]
Sent: Wednesday, June 21, 2000 11:01 AM
To: File Systems Developers
Subject: [ntfsd] RE: mutex ‘levels’

Yep.

-----Original Message-----
From: Rob Fuller [mailto:xxxxx@NSISW.COM]
Sent: Wednesday, June 21, 2000 12:53 PM
To: File Systems Developers
Subject: [ntfsd] RE: mutex ‘levels’

Did you try this on the checked build?

-----Original Message-----
From: Smith, Joel [mailto:xxxxx@ntpsoftware.com]
Sent: Wednesday, June 21, 2000 11:41 AM
To: File Systems Developers
Subject: [ntfsd] mutex ‘levels’

Hello,
What is supposed to happen when you acquire mutexes in the wrong
order (according to your locking heirarchy defined by the ‘level’
parameter in KeInitializeMutex)? I’ve intentionally violated my
hierarchy and expected a bug check or something, but nothing seemed to
happen. Am I misunderstanding the ‘level’ parameter?

Thanks,
Joel