aboutsummaryrefslogtreecommitdiff
path: root/include/linux/debugobjects.h
diff options
context:
space:
mode:
authorJeff Dike <[email protected]>2007-02-28 20:13:06 -0800
committerLinus Torvalds <[email protected]>2007-03-01 14:53:38 -0800
commitaf727902212343211627da14d17c85592feb0e18 (patch)
treef0b2b42a8ec582de6a6a52d2007a0d44eb32c36b /include/linux/debugobjects.h
parentdae9f8e63cbb532e8c4b9c54bda0bf511af9c01c (diff)
[PATCH] uml: fix host LDT lookup initialization locking, try 2
Add some locking to host_ldt_entries to prevent racing when reading LDT information from the host. The locking is somewhat more careful than my previous attempt. Now, only the check of host_ldt_entries is locked. The lock is dropped immediately afterwards, and if the LDT needs initializing, that (and the memory allocations needed) proceed outside the lock. Also fixed some style violations. Signed-off-by: Jeff Dike <[email protected]> Cc: Paolo 'Blaisorblade' Giarrusso <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions