Matthew Wilcox <willy@xxxxxxxxxxxxx> wrote: > Absolutely; just use xa_lock() to protect both setting & testing the > flag. How should Jeffle deal with xarray dropping the lock internally in order to do an allocation and then taking it again (actually in patch 5)? David