summaryrefslogtreecommitdiffstats
path: root/Documentation/gpio.txt
diff options
context:
space:
mode:
authorKAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>2010-09-09 16:38:01 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2010-09-09 18:57:24 -0700
commit0dcc48c15f63ee86c2fcd33968b08d651f0360a5 (patch)
treed182a43200204be2fea04bcb80b824c6f4941267 /Documentation/gpio.txt
parentbc6930457460788e14b2c0808ed4632a1592bd61 (diff)
downloadop-kernel-dev-0dcc48c15f63ee86c2fcd33968b08d651f0360a5.zip
op-kernel-dev-0dcc48c15f63ee86c2fcd33968b08d651f0360a5.tar.gz
memory hotplug: fix next block calculation in is_removable
next_active_pageblock() is for finding next _used_ freeblock. It skips several blocks when it finds there are a chunk of free pages lager than pageblock. But it has 2 bugs. 1. We have no lock. page_order(page) - pageblock_order can be minus. 2. pageblocks_stride += is wrong. it should skip page_order(p) of pages. Signed-off-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com> Cc: Michal Hocko <mhocko@suse.cz> Cc: Wu Fengguang <fengguang.wu@intel.com> Cc: Mel Gorman <mel@csn.ul.ie> Cc: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com> Cc: <stable@kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'Documentation/gpio.txt')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud