Files
kernel_xiaomi_sm8250/include/linux
Hugh Dickins ebebbbe904 swapfile: rearrange scan and swap_info
Before making functional changes, rearrange scan_swap_map() to simplify
subsequent diffs.  Actually, there is one functional change in there:
leave cluster_nr negative while scanning for a new cluster - resetting it
early increased the likelihood that when we have difficulty finding a free
cluster, another task may come in and try doing exactly the same - just a
waste of cpu.

Before making functional changes, rearrange struct swap_info_struct
slightly: flags will be needed as an unsigned long (for wait_on_bit), next
is a good int to pair with prio, old_block_size is uninteresting so shift
it to the end.

Signed-off-by: Hugh Dickins <hugh@veritas.com>
Cc: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Cc: Nick Piggin <nickpiggin@yahoo.com.au>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2009-01-06 15:59:05 -08:00
..
2009-01-04 12:17:43 +01:00
2009-01-04 12:17:42 +01:00
2009-01-04 13:33:20 -08:00
2008-12-30 16:51:43 -05:00
2008-12-29 08:29:50 +01:00
2009-01-01 10:12:19 +10:30
2008-12-29 08:29:50 +01:00
2009-01-04 13:33:20 -08:00
2009-01-06 15:59:01 -08:00
2009-01-02 12:19:34 -08:00
2008-12-29 17:47:23 +10:00
2008-12-25 11:01:43 +11:00
2008-12-31 18:07:38 -05:00
2008-12-29 07:39:34 -05:00
2009-01-04 13:33:20 -08:00
2009-01-04 13:33:20 -08:00
2008-12-29 11:27:46 +02:00
2008-12-31 18:07:42 -05:00
2009-01-06 15:59:01 -08:00
2008-12-31 18:07:42 -05:00
2009-01-05 08:40:30 -08:00
2009-01-05 08:40:30 -08:00
2008-12-31 15:11:46 +01:00
2009-01-03 14:11:07 +01:00
2008-12-28 22:43:21 -05:00
2009-01-06 15:58:58 -08:00
2009-01-04 16:13:40 -08:00
2008-12-23 15:21:45 -05:00
2008-12-19 15:22:54 -05:00
2008-12-21 14:21:14 +11:00
2008-12-20 09:15:46 +01:00
2009-01-05 18:31:12 -08:00
2009-01-06 15:59:02 -08:00
2009-01-04 13:33:20 -08:00
2008-12-30 09:05:16 +10:30
2009-01-06 15:59:05 -08:00
2009-01-01 10:12:25 +10:30
2009-01-02 10:19:36 -08:00
2008-12-29 08:29:51 +01:00