diff options
| author | Nick Piggin <[email protected]> | 2006-10-04 02:15:23 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2006-10-04 07:55:12 -0700 |
| commit | e80ee884ae0e3794ef2b65a18a767d502ad712ee (patch) | |
| tree | 6e5704f603d1596df930bc22f5e926cc50550102 /include | |
| parent | b2abacf3a2699a8020829c85c16f358ba85cecaf (diff) | |
[PATCH] mm: micro optimise zone_watermark_ok
Having min be a signed quantity means gcc can't turn high latency divides
into shifts. There happen to be two such divides for GFP_ATOMIC (ie.
networking, ie. important) allocations, one of which depends on the other.
Fixing this makes code smaller as a bonus.
Shame on somebody (probably me).
Signed-off-by: Nick Piggin <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions