22 Jun, 2005
3 commits
-
This patch implements a number of smp_processor_id() cleanup ideas that
Arjan van de Ven and I came up with.The previous __smp_processor_id/_smp_processor_id/smp_processor_id API
spaghetti was hard to follow both on the implementational and on the
usage side.Some of the complexity arose from picking wrong names, some of the
complexity comes from the fact that not all architectures defined
__smp_processor_id.In the new code, there are two externally visible symbols:
- smp_processor_id(): debug variant.
- raw_smp_processor_id(): nondebug variant. Replaces all existing
uses of _smp_processor_id() and __smp_processor_id(). Defined
by every SMP architecture in include/asm-*/smp.h.There is one new internal symbol, dependent on DEBUG_PREEMPT:
- debug_smp_processor_id(): internal debug variant, mapped to
smp_processor_id().Also, i moved debug_smp_processor_id() from lib/kernel_lock.c into a new
lib/smp_processor_id.c file. All related comments got updated and/or
clarified.I have build/boot tested the following 8 .config combinations on x86:
{SMP,UP} x {PREEMPT,!PREEMPT} x {DEBUG_PREEMPT,!DEBUG_PREEMPT}
I have also build/boot tested x64 on UP/PREEMPT/DEBUG_PREEMPT. (Other
architectures are untested, but should work just fine.)Signed-off-by: Ingo Molnar
Signed-off-by: Arjan van de Ven
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds -
SGI-PV: 931572
SGI-Modid: xfs-linux-melb:xfs-kern:189560aSigned-off-by: Dean Roehrich
Signed-off-by: Nathan Scott
21 Jun, 2005
22 commits
-
SGI-PV: 932952
SGI-Modid: xfs-linux-melb:xfs-kern:22929aSigned-off-by: Nathan Scott
-
SGI-PV: 938145
SGI-Modid: xfs-linux:xfs-kern:22901aSigned-off-by: Nathan Scott
-
not enabled though.
SGI-PV: 938145
SGI-Modid: xfs-linux:xfs-kern:22900aSigned-off-by: Nathan Scott
-
ioctls for project IDs.
SGI-PV: 938145
SGI-Modid: xfs-linux:xfs-kern:22899aSigned-off-by: Nathan Scott
-
direct I/O locking changes it is just a wrapper around
VOP_FLUSHINVAL_PAGES, so it's not nessecary anymore. Keep a simplified
version for kernels < 2.4.22, as these don't have the changed direct I/O
locking.SGI-PV: 938064
SGI-Modid: xfs-linux:xfs-kern:194420aSigned-off-by: Christoph Hellwig
Signed-off-by: Nathan Scott -
SGI-PV: 938063
SGI-Modid: xfs-linux:xfs-kern:194416aSigned-off-by: Christoph Hellwig
Signed-off-by: Nathan Scott -
SGI-PV: 938062
SGI-Modid: xfs-linux:xfs-kern:194415aSigned-off-by: Christoph Hellwig
Signed-off-by: Nathan Scott -
SGI-PV: 936977
SGI-Modid: xfs-linux:xfs-kern:193840aSigned-off-by: Christoph Hellwig
Signed-off-by: Nathan Scott -
SGI-PV: 928382
SGI-Modid: xfs-linux:xfs-kern:193778aSigned-off-by: Christoph Hellwig
Signed-off-by: Nathan Scott -
SGI-PV: 936255
SGI-Modid: xfs-linux:xfs-kern:193691aSigned-off-by: Eric Sandeen
Signed-off-by: Nathan Scott -
SGI-PV: 932952
SGI-Modid: xfs-linux:xfs-kern:22806aSigned-off-by: Nathan Scott
-
SGI-PV: 932952
SGI-Modid: xfs-linux:xfs-kern:22805aSigned-off-by: Nathan Scott
-
SGI-PV: 936977
SGI-Modid: xfs-linux:xfs-kern:193409aSigned-off-by: Christoph Hellwig
Signed-off-by: Nathan Scott -
SGI-PV: 936891
SGI-Modid: xfs-linux:xfs-kern:193408aSigned-off-by: Christoph Hellwig
Signed-off-by: Nathan Scott -
SGI-PV: 936890
SGI-Modid: xfs-linux:xfs-kern:193349aSigned-off-by: Christoph Hellwig
Signed-off-by: Nathan Scott -
SGI-PV: 936255
SGI-Modid: xfs-linux:xfs-kern:192760aSigned-off-by: Christoph Hellwig
Signed-off-by: Nathan Scott -
SGI-PV: 936255
SGI-Modid: xfs-linux:xfs-kern:192759aSigned-off-by: Christoph Hellwig
Signed-off-by: Nathan Scott -
SGI-PV: 908809
SGI-Modid: xfs-linux:xfs-kern:192756aSigned-off-by: Christoph Hellwig
Signed-off-by: Nathan Scott -
SGI-PV: 934679
SGI-Modid: xfs-linux:xfs-kern:192570aSigned-off-by: Christoph Hellwig
Signed-off-by: Nathan Scott -
SGI-PV: 908809
SGI-Modid: xfs-linux:xfs-kern:192348aSigned-off-by: Christoph Hellwig
Signed-off-by: Nathan Scott -
SGI-PV: 933551
SGI-Modid: xfs-linux:xfs-kern:190622aSigned-off-by: Dean Roehrich
Signed-off-by: Nathan Scott -
SGI-PV: 932952
SGI-Modid: xfs-linux:xfs-kern:21938aSigned-off-by: Nathan Scott
27 May, 2005
1 commit
06 May, 2005
14 commits
-
SGI Modid: xfs-linux:xfs-kern:21810a
Signed-off-by: Nathan Scott
Signed-off-by: Christoph Hellwig -
This may be the cause of several open PV's of incorrect
delay flags being set and then tripping asserts.
Do not return a delay alloc extent when the caller is asking to do a write.SGI Modid: xfs-linux:xfs-kern:189616a
Signed-off-by: Russell Cattelan
Signed-off-by: Christoph Hellwig -
SGI Modid: xfs-linux:xfs-kern:22378a
Signed-off-by: Nathan Scott
Signed-off-by: Christoph Hellwig -
…ed the offset originally requested. Can cause data corruption when multiple processes are performing writeout on different areas of the same file. Quite difficult to hit though.
SGI Modid: xfs-linux:xfs-kern:22377a
Signed-off-by: Nathan Scott <nathans@sgi.com>
Signed-off-by: Christoph Hellwig <hch@sgi.com>
. -
SGI Modid: xfs-linux:xfs-kern:22376a
Signed-off-by: Nathan Scott
Signed-off-by: Christoph Hellwig -
SGI Modid: xfs-linux:xfs-kern:191625a
Signed-off-by: Eric Sandeen
Signed-off-by: Christoph Hellwig -
SGI Modid: xfs-linux:xfs-kern:191586a
Signed-off-by: Daniel Moore
Signed-off-by: Christoph Hellwig -
handling for unwritten extents can be moved out of interrupt context.
SGI Modid: xfs-linux:xfs-kern:22343a
Signed-off-by: Nathan Scott
Signed-off-by: Christoph Hellwig -
SGI Modid: xfs-linux:xfs-kern:22342a
Signed-off-by: Nathan Scott
Signed-off-by: Christoph Hellwig -
SGI Modid: xfs-linux:xfs-kern:191411a
Signed-off-by: Eric Sandeen
Signed-off-by: Christoph Hellwig -
SGI Modid: xfs-linux:xfs-kern:22261a
Signed-off-by: Nathan Scott
Signed-off-by: Christoph Hellwig -
SGI Modid: xfs-linux:xfs-kern:190711a
Signed-off-by: Dean Roehrich
Signed-off-by: Christoph Hellwig
. -
SGI Modid: xfs-linux:xfs-kern:190725a
Signed-off-by: Eric Sandeen
Signed-off-by: Christoph Hellwig
. -
SGI Modid: xfs-linux:xfs-kern:22032a
Signed-off-by: Nathan Scott
Signed-off-by: Christoph Hellwig