Subject: Re: inter-cpu coherency and kernel data structures
To: Matthew Jacob <email@example.com>
From: Jason R Thorpe <firstname.lastname@example.org>
Date: 08/14/2000 10:10:15
On Mon, Aug 14, 2000 at 09:58:50AM -0700, Matthew Jacob wrote:
> Well, if your ldx_l/stX_c locking is using MBs, then, err, umm, you're
I think the issue is that I need to do the instructions like this:
2. alp->lock_data = 0;
1. Ensure that store that unlocks the data structure will not
happen before the data structure has actually been modified
2. Release the lock.
3. Ensure that the lock is released before anything else happens.
-- Jason R. Thorpe <email@example.com>