diff options
| author | Paolo 'Blaisorblade' Giarrusso <[email protected]> | 2006-01-18 17:42:58 -0800 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2006-01-18 19:20:21 -0800 |
| commit | b63162939cd797c8269964ce856ed1f2fec5f70e (patch) | |
| tree | 666dd2919bd156aa183a87576224d0fad3c4cf72 /scripts/basic | |
| parent | b6a2b13778873bd9edd0b4a7d24a7bd730369021 (diff) | |
[PATCH] uml: avoid malloc to sleep in atomic sections
Ugly trick to help make malloc not sleeping - we can't do anything else. But
this is not yet optimal, since spinlock don't trigger in_atomic() when
preemption is disabled.
Also, even if ugly, this was already used in one place, and was even more
bogus. Fix it.
Signed-off-by: Paolo 'Blaisorblade' Giarrusso <[email protected]>
Cc: Jeff Dike <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'scripts/basic')
0 files changed, 0 insertions, 0 deletions