* Alexander van Heukelum <heukelum@mailshack.com> wrote:ok, that's rather convincing. the generic version in lib/find_next_bit.c is open-coded C which gcc can optimize pretty nicely. the hand-coded assembly versions in arch/x86/lib/bitops_32.c mostly use the special x86 'bit search forward' (BSF) instruction - which i know from the days when the scheduler relied on it has some non-trivial setup costs. So especially when there's _small_ bitmasks involved, it's more expensive. i'm not surprised that the hand-coded assembly versions had a bug ... [ this means we have to test it quite carefully though, as lots of code only ever gets tested on x86 so code could have built dependency on the buggy behavior. ] i'd not worry about that too much. Have you tried to build with: CONFIG_CC_OPTIMIZE_FOR_SIZE=y CONFIG_OPTIMIZE_INLINING=y (the latter only available in x86.git) i've picked it up into x86.git, lets see how it goes in practice. Ingo --
| Arjan van de Ven | [Patch v2] Make PCI extended config space (MMCONFIG) a driver opt-in |
| Linus Torvalds | Linux 2.6.27-rc8 |
| Tilman Schmidt | git guidance |
| Greg KH | [GIT PATCH] driver core patches against 2.6.24 |
git: | |
| Martin Langhoff | Re: pack operation is thrashing my server |
| Alan Larkin | fatal: Out of memory, malloc failed |
| Mark Junker | git on MacOSX and files with decomposed utf-8 file names |
| Alex Riesen | Re: How do get a specific version of a particular file? |
| Leon Dippenaar | New tcp stack attack |
| Richard Stallman | Real men don't attack straw men |
| Pieter Verberne | Remove escape characters from file |
| Juan Miscaro | removing sendmail |
| Gerrit Renker | [PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side) |
| David Miller | [GIT]: Networking |
| Chuck Lever | Re: [bug?] tg3: Failed to load firmware "tigon/tg3_tso.bin" |
| David Miller | Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
