| From | Subject | Date |
|---|---|---|
| Balbir Singh | X86: UML build fix
[sorry if this is a duplicate, looks like my first post did not make it
to lkml]
Fix stat.h to not use __i386__, but use BITS_PER_LONG. The UML architecture
in turn includes this file. This helps resolve one build failure in the
current UML code
Before the fix, the failure was
In file included from init/do_mounts.c:19:
init/do_mounts.h: In function 'bstat':
init/do_mounts.h:25: error: storage size of 'stat' isn't known
init/do_mounts.h:25: warning: unused variable 'stat'
init/do_mounts.h:33...
| Oct 25, 7:08 am 2007 |
| Bartlomiej Zolnierki... | [PATCH 3/3] ide: remove CONFIG_IDEPCI_SHARE_IRQ config option
Now that drive_is_ready() has been fixed for non-PCI hosts we can safely
remove CONFIG_IDEPCI_SHARE_IRQ and always support PCI IRQ sharing.
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
---
drivers/ide/Kconfig | 12 ------------
drivers/ide/ide-iops.c | 2 --
2 files changed, 14 deletions(-)
Index: b/drivers/ide/Kconfig
===================================================================
--- a/drivers/ide/Kconfig
+++ b/drivers/ide/Kconfig
@@ -366,17 +366,6 @@ c...
| Oct 25, 7:38 pm 2007 |
| Bartlomiej Zolnierki... | [PATCH 2/3] ide: fix drive_is_ready() for non-PCI hosts and ...
Need to check if the host is a PCI one before reading IDE_ALTSTATUS_REG.
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
---
drivers/ide/ide-iops.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Index: b/drivers/ide/ide-iops.c
===================================================================
--- a/drivers/ide/ide-iops.c
+++ b/drivers/ide/ide-iops.c
@@ -455,7 +455,7 @@ int drive_is_ready (ide_drive_t *drive)
* an interrupt with another pci card/device. We ...
| Oct 25, 7:36 pm 2007 |
| Bartlomiej Zolnierki... | [PATCH 1/3] ide: remove IRQF_DISABLED from IRQ flags for IDE...
IRQF_DISABLED is not needed because the first thing that ide_intr()
(IDE IRQ handler) does is calling spin_lock_irqsave() which disables
local IRQs (IRQ unmasking is later handled by drive->unmask).
kernel/irq/handle.c:
irqreturn_t handle_IRQ_event(unsigned int irq, struct irqaction *action)
...
if (!(action->flags & IRQF_DISABLED))
local_irq_enable_in_hardirq();
do {
ret = action->handler(irq, action->dev_id);
if (ret == IRQ_HANDLED)
status |= action->flags;...
| Oct 25, 7:35 pm 2007 |
| Robert Hancock | Re: Is gcc thread-unsafe?
It is a win if the branch cannot be effectively predicted, i.e. if the
outcome is essentially random, as may occur with data-dependent
conditionals. I've seen a doubling of performance on one workload using
a predicated instruction instead of a branch on newer Xeons in such a case.
I suspect that if branch prediction fails often, the data dependency
created by the cmov, etc. is less expensive than the pipeline flush
required by mispredicts..
--
Robert Hancock Saskatoon, SK, Canada
...
| Oct 25, 7:27 pm 2007 |
| Robert Hancock | Re: - mmconfig-validate-against-acpi-motherboard-resources.p...
Where did this patch go? I didn't get notified that anyone dropped it,
but I don't see it in current -git..
-
| Oct 25, 7:20 pm 2007 |
| Jesse Barnes | Re: - mmconfig-validate-against-acpi-motherboard-resources.p...
I think Greg doesn't like it, even though we don't have an alternative
at this point...
Jesse
-
| Oct 25, 7:22 pm 2007 |
| Mike Waychison | [patch 1/1] Drop CAP_SYS_RAWIO requirement for FIBMAP
Remove the need for having CAP_SYS_RAWIO when doing a FIBMAP call on an open file descriptor.
It would be nice to allow users to have permission to see where their data is landing on disk, and there really isn't a good reason to keep them from getting at this information.
Signed-off-by: Mike Waychison <mikew@google.com>
fs/ioctl.c | 2 --
1 file changed, 2 deletions(-)
Index: linux-2.6.23/fs/ioctl.c
===================================================================
--- linux-2.6.23.o...
| Oct 25, 7:06 pm 2007 |
| FUJITA Tomonori | [PATCH] x86: fix pci-gart failure handling
blk_rq_map_sg doesn't initialize sg->dma_address/length to zero
anymore. Some low level drivers reuse sg lists without initializing so
IOMMUs might get non-zero dma_address/length. If map_sg fails, we need
pass the number of the mapped entries to gart_unmap_sg.
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
---
arch/x86/kernel/pci-gart_64.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/arch/x86/kernel/pci-gart_64.c b/arch/x86/kernel/pci-gart_6...
| Oct 25, 7:08 pm 2007 |
| David Howells | [PATCH] Add an ERR_CAST() function to complement ERR_PTR and...
Add an ERR_CAST() function to complement ERR_PTR and co. for the purposes of
casting an error entyped as one pointer type to an error of another pointer
type whilst making it explicit as to what is going on.
This provides a replacement for the ERR_PTR(PTR_ERR(p)) construct.
Signed-off-by: David Howells <dhowells@redhat.com>
---
include/linux/err.h | 12 ++++++++++++
1 files changed, 12 insertions(+), 0 deletions(-)
diff --git a/include/linux/err.h b/include/linux/err.h
index 1ab1d4...
| Oct 25, 7:03 pm 2007 |
| Michael Lothian | Re: Possibility of adding -march=native to x86
I like compiling my own kernel it's just a pain doing it the first
So how do distro's figure out which driver to use? Isn't it a matter
It about ease of use, look at the new core2 architecture, if your gcc
is new enough there is a march=core2 else you use an older flag
Same with the new cell architecture you use cell if your using gcc 4.3
alpha or 930 if it's not that new.
What I'm saying is sometimes GCC or the Kernel is better at making
these decisions or at least make it easier
Mike
...
| Oct 25, 6:58 pm 2007 |
| David Rientjes | [patch 1/2] cpusets: extract mmarray loading from update_nod...
Extract a helper function from update_nodemask() to load an array of
mm_struct pointers with references to each task's mm_struct that is
currently attached to a given cpuset.
This will be used later for other purposes where memory policies need to
be rebound for each task attached to a cpuset.
Cc: Andi Kleen <ak@suse.de>
Cc: Paul Jackson <pj@sgi.com>
Cc: Christoph Lameter <clameter@sgi.com>
Cc: Lee Schermerhorn <Lee.Schermerhorn@hp.com>
Signed-off-by: David Rientjes <...
| Oct 25, 6:54 pm 2007 |
| David Rientjes | [patch 2/2] cpusets: add interleave_over_allowed option
Adds a new 'interleave_over_allowed' option to cpusets.
When a task with an MPOL_INTERLEAVE memory policy is attached to a cpuset
with this option set, the interleaved nodemask becomes the cpuset's
mems_allowed. When the cpuset's mems_allowed changes, the interleaved
nodemask for all tasks with MPOL_INTERLEAVE memory policies is also
updated to be the new mems_allowed nodemask.
This allows applications to specify that they want to interleave over all
nodes that they are allowed to access. This ...
| Oct 25, 6:54 pm 2007 |
| Christoph Lameter | Re: [patch 2/2] cpusets: add interleave_over_allowed option
More interactions between cpusets and memory policies. We have to be
careful here to keep clean semantics.
Isnt it a bit surprising for an application that has set up a custom
MPOL_INTERLEAVE policy if the nodes suddenly change because of a cpuset or
mems_allowed change?
-
| Oct 25, 7:37 pm 2007 |
| David Rientjes | Re: [patch 2/2] cpusets: add interleave_over_allowed option
Every MPOL_INTERLEAVE policy is a custom policy that the application has
setup. If you don't use cpusets at all, the nodemask you pass to
set_mempolicy() with MPOL_INTERLEAVE is static and won't change without
the application's knowledge. It has full control over the nodemask that
it desires to interleave over.
The problem occurs when you add cpusets into the mix and permit the
allowed nodes to change without knowledge to the application. Right now,
a simple remap is done so if the car...
| Oct 25, 7:56 pm 2007 |
| Maarten Bressers | [PATCH RESEND] SCSI not showing tray status correctly
From: David Martin <tasio@tasio.net>
Greetings,
The following patch was submitted to the lkml in 2004 by David Martin
(http://lkml.org/lkml/2004/12/27/1). It wasn't accepted, but I was
unable to find a reason why, so I'm resending it now.
Without this patch the SCSI ioctl CDROM_DRIVE_STATUS always returns
CDS_TRAY_OPEN even if the tray is closed. This patch fixes that.
Gentoo bug report: http://bugs.gentoo.org/show_bug.cgi?id=196879
Signed-off by: Maarten Bressers <mbres@gentoo.org&...
| Oct 25, 6:30 pm 2007 |
| James Bottomley | Re: [PATCH RESEND] SCSI not showing tray status correctly
Well, sending SCSI patches to the kernel mailing list but not to
This patch is too simplistic. ide-cd.c:ide_cdrom_drive_status() looks
to be a reasonable implementation. However, the worry is that
GET_EVENT_NOTIFICATION is a MMC command; devices not conforming to MMC
won't support it. In theory, they should just return ILLEGAL_REQUEST,
but USB devices have been known to crash when given commands they don't
understand. How widely tested has this been (if it's been in Gentoo
since 2004, then it...
| Oct 25, 7:24 pm 2007 |
| J.A. Magallon | Opteron box and 4Gb memory
Hi...
I have some Quad-Opteron boxes with 4Gb memory and two of them are
running two different Linux distros.
Box one sees 4Gb of memory, but box two just sees 3.
Their mtrr setups are different:
one:
[ 0.000000] Linux version 2.6.20...
...
[ 0.000000] BIOS-provided physical RAM map:
[ 0.000000] BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
[ 0.000000] BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
[ 0.000000] BIOS-e820: 00000000000e6000 - 000000000010...
| Oct 25, 5:09 pm 2007 |
| H. Peter Anvin | Re: Opteron box and 4Gb memory
It would depend on how the BIOS programmed the memory controllers. For
32-bit (and lots of device) compatibility, a memory hole is required
below 4 GB. Not all memory controllers can remap memory in the 3-4 GB
range above the 4 GB memory; I'm not sure if that varies with the
different Opteron processors.
Also, if you run a 32-bit distribution, you need to have HIGHMEM_64G
enabled in the kernel.
-hpa
-
| Oct 25, 5:58 pm 2007 |
| J.A. | Re: Opteron box and 4Gb memory
I have collected several pieces of info around the internet...
- Some people uses this options in the BIOS:
Node interleave: off
Bank interleave: auto
SW memory hole: disable
HW memory hole: enable
MTRR: Continuous
- Node Memory Interleaving DISABLES NUMA and generally is a bad thing
- MTRR setting -should be set to "discrete" for Linux, and probably for Windows too.
- This is what SuperMicro's tech support said about 2.96GB vs. 4GB.
"This is as expected, as soon as you set "softw...
| Oct 25, 6:44 pm 2007 |
| Rafael J. Wysocki | Re: Opteron box and 4Gb memory
It shouldn't, AFAICS.
Greetings,
Rafael
-
| Oct 25, 6:45 pm 2007 |
| Greg KH | [GIT PATCH] USB patches for 2.6.24-rc1
Here are some USB fixes and changes against your 2.6.24-rc1 git tree.
The majority of these are termios cleanups and fixes, that needed to
wait to go to your tree until after the changes came in to the serial
and tty core from Andrew's tree. They are all written by Alan Cox, have
been in -mm for a while, and also include a fix to the serial core that
is needed as well.
The other patches are all small USB ones, bugfixes, compile fixes,
annoying sysfs-warnings at runtime, and new device ids.
Th...
| Oct 25, 4:12 pm 2007 |
| Bozhan Boiadzhiev | BUG: unable to handle kernel NULL pointer dereference<1>
BUG: unable to handle kernel NULL pointer dereference<1>BUG: unable to handle kernel NULL pointer dereference at virtual address 00000054
printing eip:
c025c099
*pde = 00000000
Oops: 0000 [#1]
SMP
Modules linked in: tcp_diag inet_diag cls_u32 cls_fw sch_sfq sch_htb xt_mac xt_limit xt_multiport xt_tcpudp iptable_nat nf_nat nf_conntrack_ipv4 nf_conntrack
nfnetlink xt_MARK iptable_mangle iptable_filter ip_tables x_tables button ac battery ipv6 dm_snapshot dm_mirror dm_mod loop iTCO_wdt pcspkr rtc...
| Oct 25, 3:11 pm 2007 |
| Vlad Yasevich | [PATCH] [CRYPTO]: Fix hmac_digest from the SG breakage.
Crypto now uses SG helper functions. Fix hmac_digest to use those
functions correctly and fix the oops associated with it.
Signed-off-by: Vlad Yasevich <vladislav.yasevich@hp.com>
---
crypto/hmac.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/crypto/hmac.c b/crypto/hmac.c
index e4eb6ac..8b7a832 100644
--- a/crypto/hmac.c
+++ b/crypto/hmac.c
@@ -158,10 +158,12 @@ static int hmac_digest(struct hash_desc *pdesc, struct scatterlist *sg,
desc.tfm = ctx->...
| Oct 25, 4:07 pm 2007 |
| Sam Ravnborg | [PATCH 0/6] kill i386 and x86_64 directories
This series kill the old i386 and x86_64 directories.
The relevant files are moved and adapted and
Kconfig.debug was consolidated (thanks to Randy).
I had to modify both the top-lvel Makefile and the kconfig
Makefile to accomplish this. It was done in such a way that
it is trivial for other archs to use the same mechanism
should they have the need.
To solve the defconfig issue (i386 and x86_64 cannot share one)
the arch/x86/configs/ directory were introduced. This has
been used by other archs f...
| Oct 25, 3:56 pm 2007 |
| Thomas Gleixner | Re: [PATCH 0/6] kill i386 and x86_64 directories
Sam,
Thanks for doing this.
I think the last remaining bit to cleanup is the symlink from
arch/x86/boot/bzImage. Now that the old directories are gone it does
not make much sense to keep them alive. Andrew will survive it :)
Please send it Linus wards and feel free to add my Acked-by to all of
them.
Thanks,
tglx
-
| Oct 25, 4:17 pm 2007 |
| Sam Ravnborg | [GIT PULL] kill i386 and x86_64 directories
Hi Linus.
This patch serie kill the old i386 and x86_64 directories.
Introducing a few trivial changes in top-level Makefile
and kconfig Makefile allows us to move all files to
arch/x86/ where they belong.
Kay Sievers hit a bug in the first patch-set - this is now fixed and
the updated patch set is uploaded to my x86.git tree.
Build tested on both i386 and x86_64.
I test builded a few other archs just to check that I did not break them.
Shortlog:
Randy Dunlap (1):
x86: unification o...
| Oct 25, 5:12 pm 2007 |
| Sam Ravnborg | Re: [PATCH 0/6] kill i386 and x86_64 directories
[Empty message]
| Oct 25, 4:14 pm 2007 |
| Kay Sievers | Re: [PATCH 0/6] kill i386 and x86_64 directories
Hey Sam,
I get this after a simple pull from your tree and a: make clean; make:
LD init/built-in.o
LD .tmp_vmlinux1
arch/x86/kernel/head_64.o: In function `early_idt_handler':
(.text.head+0x1e5): undefined reference to `early_printk'
arch/x86/kernel/head64.o: In function `x86_64_start_kernel':
head64.c:(.init.text+0xa8): undefined reference to `early_printk'
arch/x86/kernel/built-in.o: In function `early_panic':
(.text+0x9c07): undefined reference to `early_printk'
arch/x86/mm/buil...
| Oct 25, 4:19 pm 2007 |
| Sam Ravnborg | Re: [PATCH 0/6] kill i386 and x86_64 directories
I think this is my changes to the Kconfig.debug path
I received from Randy.
Checking....
Yup - reverting my change bring back EARLY_PRINTK wich is
always required on x86_64.
I will redo the series - and build test a bit more.
Thanks.
Sam
-
| Oct 25, 4:36 pm 2007 |
| Sam Ravnborg | [PATCH 6/6] x86: kill the old i386 and x86_64 directories
From c54efdb8c66e1850be60e2320a24c96957c87372 Mon Sep 17 00:00:00 2001
From: Sam Ravnborg <sam@ravnborg.org>
Date: Thu, 25 Oct 2007 21:06:56 +0200
Subject: [PATCH] x86: kill the old i386 and x86_64 directories
The last remaining bits were two .gitignore files.
Deleting them and we have no more use of the directories.
git will most likely not delete the directories for
you, so this is a thing to do manually (or create a fresh clone).
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
-...
| Oct 25, 4:06 pm 2007 |
| Sam Ravnborg | [PATCH 5/6] x86: move i386 and x86_64 Kconfig files to x86 d...
From 6654a98eb8587f0538904c9bdb9aeaf9d577f182 Mon Sep 17 00:00:00 2001
From: Sam Ravnborg <sam@ravnborg.org>
Date: Thu, 25 Oct 2007 21:04:16 +0200
Subject: [PATCH] x86: move i386 and x86_64 Kconfig files to x86 directory
After a small change in kconfig Makefile we could
move all x86 Kconfig files to x86 directory.
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
---
arch/{i386 => x86}/Kconfig.cpu | 0
arch/{i386 => x86}/Kconfig.debug | 0
arch/{...
| Oct 25, 4:05 pm 2007 |
| Sam Ravnborg | [PATCH 4/6] kconfig: small code refactoring in kconfig Makef...
From 7cadfc607d91f536996a46c186711c82378e75ec Mon Sep 17 00:00:00 2001
From: Sam Ravnborg <sam@ravnborg.org>
Date: Thu, 25 Oct 2007 20:42:18 +0200
Subject: [PATCH] kconfig: small code refactoring in kconfig Makefile
Do not hardcode the arch/$(ARCH)/Kconfig name all over
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
---
scripts/kconfig/Makefile | 28 +++++++++++++++-------------
1 files changed, 15 insertions(+), 13 deletions(-)
diff --git a/scripts/kconfig/Makefile b/scripts/k...
| Oct 25, 4:05 pm 2007 |
| Sam Ravnborg | [PATCH 3/6] x86: unification of i386 and x86_64 Kconfig.debug
From 16b853f53463e43bfce341965ac10a78a3755a14 Mon Sep 17 00:00:00 2001
From: Randy Dunlap <rdunlap@xenotime.net>
Date: Wed, 24 Oct 2007 15:50:43 -0700
Subject: [PATCH] x86: unification of i386 and x86_64 Kconfig.debug
Adding proper dependencies so the two Kconfig.debug files
are now identical.
Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
---
arch/i386/Kconfig.debug | 51 ++++++++++++++++++++++++++++-------
...
| Oct 25, 4:04 pm 2007 |
| Yinghai Lu | Re: [PATCH 3/6] x86: unification of i386 and x86_64 Kconfig....
...
why disabling early_printk for x86_64?
YH
-
| Oct 25, 7:30 pm 2007 |
| Randy Dunlap | Re: [PATCH 3/6] x86: unification of i386 and x86_64 Kconfig....
It doesn't do that. EARLY_PRINTK for x86_64 lives in
arch/x86_64/Kconfig (i.e., a different file).
Patches welcome.
---
~Randy
-
| Oct 25, 7:35 pm 2007 |
| H. Peter Anvin | Re: [PATCH 3/6] x86: unification of i386 and x86_64 Kconfig....
I think Sam's patchset already takes care of that.
-hpa
-
| Oct 25, 7:52 pm 2007 |
| Sam Ravnborg | [PATCH 2/6] x86: move defconfig files for i386 and x86_64 to...
From 81ee173db26217c54731bbc4c5b864fa01c6f28c Mon Sep 17 00:00:00 2001
From: Sam Ravnborg <sam@ravnborg.org>
Date: Thu, 25 Oct 2007 20:31:19 +0200
Subject: [PATCH] x86: move defconfig files for i386 and x86_64 to x86
With some small changes to kconfig makefile we can now
locate the defconfig files for i386 and x86_64 in
the configs/ subdirectory under x86.
make ARCH=i386 defconfig and make defconfig
works as expected also after this change.
But arch maintainers shall now update a defconfig ...
| Oct 25, 4:03 pm 2007 |
| Sam Ravnborg | [PATCH 1/6] x86: move i386 and x86_64 Makefiles to arch/x86
From 9d80894bef9805c70795f73ce1758d2a9e4cb077 Mon Sep 17 00:00:00 2001
From: Sam Ravnborg <sam@ravnborg.org>
Date: Thu, 25 Oct 2007 19:42:04 +0200
Subject: [PATCH] x86: move i386 and x86_64 Makefiles to arch/x86
Moving the ARCH specific Makefiles for i386 and x86_64
required a litle bit tweaking in the top-lvel Makefile.
SRCARCH is now set in the top-level Makefile
because we need this info to include the correct
arch Makefile.
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
---
...
| Oct 25, 4:03 pm 2007 |
| Tim Bird | IRQ off latency of printk is very high
I've been looking at 'IRQ off' latency in the Linux kernel, on
version 2.6.22 for target using an ARM processor.
I use a serial console, at 115200 bps.
I've noticed that calls to printk disable interrupts for
excessively long times. I have a long test printk of
over 200 chars, that holds interrupts off for 24 milliseconds.
The kernel drops ticks in this case. I changed to HZ=1000
to more easily see the dropped ticks, and I'm losing about
23 ticks (no surprise there).
I see long interrupt of...
| Oct 25, 3:44 pm 2007 |
| Mathieu Desnoyers | Re: IRQ off latency of printk is very high
Hi Tim,
It might help to read this thread I posted on LKML in January 2006
explaining the problem, which led to some discussion about the issue.
http://lkml.org/lkml/2006/6/3/48
Using the LTTng tracer, I got the exact instruction responsible for
disabling interrupts for so long. It is explained in my presentation
referred to by the same email.
--
Mathieu Desnoyers
Computer Engineering Ph.D. Student, Ecole Polytechnique de Montreal
OpenPGP key fingerprint: 8CD5 52C3 8E3C 4140 715F BA0...
| Oct 25, 6:28 pm 2007 |
| Tim Bird | Re: IRQ off latency of printk is very high
This is very helpful. Jon Smirl's answer seems to give the
rationale for supporting printk output in interrupt context.
I'm not sure, however, if extending the interrupt off period
to cover the console output is required. It didn't until
Ingo changed it in 2.6.17. Maybe this was intentional to
allow printk output to drain before another (printk in
interrupt context) could even possibly be generated, but it
seems like overkill.
I'll continue looking at this. It helps a lot to know about
the i...
| Oct 25, 6:52 pm 2007 |
| Matt Mackall | Re: IRQ off latency of printk is very high
Hmm, I see this at the beginning of the post-BK era (2.6.12-rc2):
spin_lock_irqsave(&logbuf_lock, flags);
...
spin_unlock(&logbuf_lock);
call_console_drivers(_con_start, _log_end);
local_irq_restore(flags);
--
Mathematics is the supreme nostalgia of our time.
-
| Oct 25, 7:12 pm 2007 |
| Tim Bird | Re: IRQ off latency of printk is very high
Well, I need to do some more research. This must be in
release_console_sem(). I was looking at vprintk, through
the ages. At 2.6.16, it looked like this:
spin_lock_irqsave(&logbuf_lock, flags);
...
spin_unlock_irqrestore(&logbuf_lock, flags);
console_may_schedule = 0;
release_console_sem();
but the irq restore has been moving around to different places
in that function over the last few years. I suspect that in the
common ...
| Oct 25, 7:41 pm 2007 |
| Matt Mackall | Re: IRQ off latency of printk is very high
Printk to the serial console uses polled I/O to get deterministic,
reliable, and -timely- output. If our very next statement (or interrupt)
may lock up the box, we want to be sure our printk has actually been
delivered before that happens.
Well, we could have a commandline option that made messages with a
priority below X go out buffered. But it'd be a lousy default from a
debugging perspective.
--
Mathematics is the supreme nostalgia of our time.
-
| Oct 25, 4:19 pm 2007 |
| Tim Bird | Re: IRQ off latency of printk is very high
Whether the actual output uses polled I/O doesn't seem to matter.
release_console_sem() (which is where the chars drain out)
used to be called with interrupts enabled (up to at about v. 2.6.17).
While the cpu is in the printk code itself any submitted printks will go
to the log buffer. It's the draining that's running with
Ingo moved the irq_restore to below the release_console_sem()
call, with this commit: a0f1ccfd8d... Up until then it had
been before the call to release_console_sem.
Her...
| Oct 25, 5:15 pm 2007 |
| Theodore Ts'o | 2.6.24-rc1-ext4-1 patchset released
I've just released 2.6.24-rc1-ext4-1. It removes patches accepted by
Linus and adds a number of cleanup patches. It also adds support for
storing i_blocks in units of filesystem blocks instead of 512 byte
sectors to eliminate one stupid (and easy to fix) large file scalability
limit.
git://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4.git 2.6.24-rc1-ext4-1
http://git.kernel.org/?p=linux/kernel/git/tytso/ext4.git;a=summary
and
[ message continues ] " title="ftp://ftp.kernel.org/pub/linux/kernel/people/tytso/ext4-pat...">ftp://ftp.kernel.org/pub/linux/kernel/people/tytso/ext4-pat... | Oct 25, 3:44 pm 2007 |
| Anton Blanchard | [PATCH] Initialise scatter/gather list in sg driver
After turning on DEBUG_SG I hit a fail:
kernel BUG at include/linux/scatterlist.h:50!
sg_build_indirect
sg_build_reserve
sg_open
chrdev_open
__dentry_open
do_filp_open
do_sys_open
We should initialise the sg list when we allocate it in sg_build_sgat.
Signed-off-by: Anton Blanchard <anton@samba.org>
---
diff --git a/drivers/scsi/sg.c b/drivers/scsi/sg.c
index b5fa4f0..f1871ea 100644
--- a/drivers/scsi/sg.c
+++ b/drivers/scsi/sg.c
@@ -1652,6 +1652,7 @@ sg_build_sgat(Sg...
| Oct 25, 3:35 pm 2007 |
| Anton Blanchard | [PATCH] Initialise scatter/gather list in sg driver
After turning on DEBUG_SG I hit a fail:
kernel BUG at include/linux/scatterlist.h:50!
ata_qc_issue
ata_scsi_translate
ipr_queuecommand
scsi_dispatch_cmd
scsi_request_fn
elv_insert
blk_execute_rq_nowait
blk_execute_rq
sg_io
scsi_cmd_ioctl
cdrom_ioctl
sr_block_ioctl
blkdev_driver_ioctl
blkdev_ioctl
block_ioctl
do_ioctl
vfs_ioctl
sys_ioctl
sg_ioctl_trans
It looks like ata_sg_setup is working on an uninitialised sg table. Call
sg_init_table to initialise it befor...
| Oct 25, 3:29 pm 2007 |
| Anton Blanchard | [PATCH] Initialise scatter/gather list in ata_sg_setup
(Sorry the subject was incorrect)...
After turning on DEBUG_SG I hit a fail:
kernel BUG at include/linux/scatterlist.h:50!
ata_qc_issue
ata_scsi_translate
ipr_queuecommand
scsi_dispatch_cmd
scsi_request_fn
elv_insert
blk_execute_rq_nowait
blk_execute_rq
sg_io
scsi_cmd_ioctl
cdrom_ioctl
sr_block_ioctl
blkdev_driver_ioctl
blkdev_ioctl
block_ioctl
do_ioctl
vfs_ioctl
sys_ioctl
sg_ioctl_trans
It looks like ata_sg_setup is working on an uninitialised sg table. Ca...
| Oct 25, 3:32 pm 2007 |
| previous day | today | next day |
|---|---|---|
| October 24, 2007 | October 25, 2007 | October 26, 2007 |
| Theodore Tso | Re: -mm merge plans for 2.6.23 -- sys_fallocate |
| Greg Kroah-Hartman | [PATCH 005/196] Chinese: add translation of SubmittingDrivers |
| Christoph Hellwig | Re: [malware-list] [RFC 0/5] [TALPA] Intro to a linux interface for on access scan... |
| Andi Kleen | [PATCH] [0/45] x86 2.6.24 patches review I |
git: | |
| Wenji Wu | RE: A Linux TCP SACK Question |
| David Miller | Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
| David Miller | Re: [GIT]: Networking |
