1
linux/include/asm-m68knommu
Greg Ungerer 3960f2faaf [PATCH] m68knommu: fix find_next_zero_bit in bitops.h
We're starting a number of big applications (memory footprint app.
1MByte) on our Arcturus uC5272.  Therefore memory fragmentation is a
real pain for us.  We've switched to uClinux-2.4.27-uc1 and found that
page_alloc2 fragments the memory heavily.

Digging into it we found a bug in the find_next_zero_bit function in the
m68knommu/bitops.h file.  if the size isn't a multiple of 32 than the
upper bits of the last word to be searched should be masked.  But the
functions masks the lower bits of the last word because it uses a right
shift instead of a left shift operator.

Patch submitted by Sascha Smejkal <s.smejkal@centersystems.at>

Signed-off-by: Greg Ungerer <gerg@uclinux.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-01-10 09:31:27 -08:00
..
a.out.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
anchor.h [PATCH] m68knommu: use board name defines to differentiate board definitions 2005-11-01 21:41:19 -08:00
atomic.h [PATCH] mutex subsystem, add atomic_xchg() to all arches 2006-01-09 15:59:17 -08:00
auxvec.h [PATCH] auxiliary vector cleanups 2005-09-07 16:57:21 -07:00
bitops.h [PATCH] m68knommu: fix find_next_zero_bit in bitops.h 2006-01-10 09:31:27 -08:00
bootinfo.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
bootstd.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
bug.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
bugs.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
byteorder.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cache.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cachectl.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cacheflush.h [PATCH] m68knommu: enable cache support code for ColdFIre 5249 2005-11-07 08:00:47 -08:00
checksum.h [PATCH] m68knommu: correct prototype args in checksum.h 2005-09-11 20:43:46 -07:00
coldfire.h [PATCH] m68knommu: add 5208 ColdFire support defines for its internal map 2005-11-01 21:41:19 -08:00
commproc.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cputime.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
current.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
dbg.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
delay.h [PATCH] m68knommu: change use of extern inline to static inline in headers 2005-11-01 21:41:19 -08:00
div64.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
dma-mapping.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
dma.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
elf.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
elia.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
emergency-restart.h [PATCH] Add emergency_restart() 2005-07-26 14:35:41 -07:00
entry.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
errno.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
fcntl.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
flat.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
fpu.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
futex.h [PATCH] consolidate asm/futex.h 2006-01-08 20:13:39 -08:00
hardirq.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
hwtest.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
io.h [PATCH] m68knommu: change use of extern inline to static inline in headers 2005-11-01 21:41:19 -08:00
ioctl.h [PATCH] Generic ioctl.h 2006-01-10 08:01:34 -08:00
ioctls.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ipc.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ipcbuf.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
irq.h [PATCH] m68knommu: remove enable_irq_nosync() 2006-01-06 08:33:44 -08:00
irqnode.h [PATCH] m68knommu: move some platform irq support out of irq.h 2005-11-07 08:00:47 -08:00
kmap_types.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
linkage.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
local.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
m520xsim.h [PATCH] m68knommu: add 5208 ColdFire support defines 2005-11-01 21:41:20 -08:00
m523xsim.h [PATCH] m68knommu: ColdFire 523x processor register definitions 2005-09-08 17:27:35 -07:00
m527xsim.h [PATCH] m68knommu: allow for SDRAM and GPIO differences on 5270/1 and 5274/5 processors 2005-09-11 20:43:47 -07:00
m528xsim.h [PATCH] m68knommu: add SPI register definitions for 528x processors 2005-09-11 20:43:47 -07:00
m5206sim.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
m5249sim.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
m5272sim.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
m5307sim.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
m5407sim.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
m68360_enet.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
m68360_pram.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
m68360_quicc.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
m68360_regs.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
m68360.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
machdep.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
math-emu.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mc146818rtc.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
MC68EZ328.h [PATCH] __attribute__ placement fixes 2005-05-01 08:59:09 -07:00
MC68VZ328.h [PATCH] __attribute__ placement fixes 2005-05-01 08:59:09 -07:00
MC68328.h [PATCH] __attribute__ placement fixes 2005-05-01 08:59:09 -07:00
MC68332.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mcfcache.h [PATCH] m68knommu: add 5208 ColdFire cache support 2005-11-01 21:41:20 -08:00
mcfdma.h [PATCH] m68knommu: dma support for 523x processors 2005-09-11 20:43:46 -07:00
mcfmbus.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mcfne.h [PATCH] m68knommu: use board defines to distinguish boards 2005-11-01 21:41:20 -08:00
mcfpci.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mcfpit.h [PATCH] m68knommu: add 5208 ColdFire pit timer support 2005-11-01 21:41:20 -08:00
mcfsim.h [PATCH] m68knommu: add 5208 ColdFire pit interrupt support 2005-11-01 21:41:20 -08:00
mcfsmc.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mcftimer.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mcfuart.h [PATCH] m68knommu: add 5208 ColdFire UART support 2005-11-01 21:41:20 -08:00
mcfwdebug.h [PATCH] m68knommu: change use of extern inline to static inline in headers 2005-11-01 21:41:19 -08:00
md.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mman.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mmu_context.h [PATCH] m68knommu: change use of extern inline to static inline in headers 2005-11-01 21:41:19 -08:00
mmu.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
module.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
movs.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
msgbuf.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mutex.h [PATCH] mutex subsystem, add default include/asm-*/mutex.h files 2006-01-09 15:59:19 -08:00
namei.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
nettel.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
openprom.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
oplib.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
page_offset.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
page.h [PATCH] mm: consolidate get_order 2005-09-05 00:05:39 -07:00
param.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
pci.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
percpu.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
pgalloc.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
pgtable.h [PATCH] feature removal of io_remap_page_range() 2005-09-13 08:22:33 -07:00
poll.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
posix_types.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
processor.h [PATCH] m68knommu: change use of extern inline to static inline in headers 2005-11-01 21:41:19 -08:00
ptrace.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
quicc_simple.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
resource.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
scatterlist.h [PATCH] m68knommu: implement scatter/gather support macros 2005-09-12 20:04:15 -07:00
sections.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
segment.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
semaphore-helper.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
semaphore.h [PATCH] m68knommu: change use of extern inline to static inline in headers 2005-11-01 21:41:19 -08:00
sembuf.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
setup.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
shm.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
shmbuf.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
shmparam.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sigcontext.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
siginfo.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
signal.h [PATCH] asm/signal.h unification 2005-05-04 07:33:15 -07:00
smp.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
socket.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sockios.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
spinlock.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
stat.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
statfs.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
string.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
system.h [PATCH] m68knommu: add 5208 ColdFire reset/reboot support 2005-11-01 21:41:20 -08:00
termbits.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
termios.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
thread_info.h [PATCH] streamline preempt_count type across archs 2005-06-23 09:45:19 -07:00
timex.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
tlb.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
tlbflush.h [PATCH] m68knommu: change use of extern inline to static inline in headers 2005-11-01 21:41:19 -08:00
topology.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
traps.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
types.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
uaccess.h [PATCH] remove verify_area(): remove verify_area() from various uaccess.h headers 2005-09-07 16:57:35 -07:00
ucontext.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
unaligned.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
unistd.h [PATCH] unify sys_ptrace prototype 2005-10-30 17:37:20 -08:00
user.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00