This patch removes the crashkernel parsing from arch/sh/kernel/machine_kexec.c
and calls the generic function, introduced in the generic patch, in
setup_bootmem_allocator().
This is necessary because the amount of System RAM must be known in this
function now because of the new syntax.
NOTE: Due
This adds the documentation for the extended crashkernel syntax into
Documentation/kdump/kdump.txt.
Signed-off-by: Bernhard Walle [EMAIL PROTECTED]
---
Documentation/kdump/kdump.txt | 26 ++
Documentation/kernel-parameters.txt |7 +++
2 files changed, 33
On 09/25/2007 11:04 AM, Pierre-Yves Paulus wrote:
Hello,
Putting the bluetooth system under load (opening and closing several
rfcomm links off several USB adapters, and transmitting data over them),
I got the Oops below. The computer hung completely, as you can see. Just
before, I also got
Jens Axboe wrote:
On Tue, Sep 25 2007, Berck E. Nash wrote:
Jeff Garzik wrote:
The first step would be to clone the upstream branch of
git://git.kernel.org/pub/scm/linux/kernel/git/jgarzik/libata-dev.git
and see if the problem is reproducible there. If yes, then you have
narrowed down the
On Tue, Sep 25 2007, Berck E. Nash wrote:
Jens Axboe wrote:
On Tue, Sep 25 2007, Berck E. Nash wrote:
Jeff Garzik wrote:
The first step would be to clone the upstream branch of
git://git.kernel.org/pub/scm/linux/kernel/git/jgarzik/libata-dev.git
and see if the problem is
* Srivatsa Vaddagiri [EMAIL PROTECTED] wrote:
On Tue, Sep 25, 2007 at 04:44:43PM +0200, Ingo Molnar wrote:
The latest sched-devel.git tree can be pulled from:
git://git.kernel.org/pub/scm/linux/kernel/git/mingo/linux-2.6-sched-devel.git
Ingo,
Few more patches
execve's error paths don't activate (and therefore pin) the mm before
calling exit_mmap to free it up, so don't try to unpin unless it is
actually pinned. This prevents a BUG_ON from triggering.
Signed-off-by: Jeremy Fitzhardinge [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
---
arch/i386/xen/mmu.c
Well then, now I guess I know why the FB isn't working...
Sorry to open up the can of worms this turned out to be {after reading
all the other replies first}...
-Original Message-
From: Russell King [mailto:[EMAIL PROTECTED] On Behalf Of Russell
King
Sent: Tuesday, September 25, 2007
Hi Mathieu Randy.
On Tue, Sep 25, 2007 at 08:11:48AM -0400, Mathieu Desnoyers wrote:
From: Randy Dunlap [EMAIL PROTECTED]
Begin infrastructure for kernel code samples in the samples/ directory.
Add its Kconfig and Kbuild files.
Source its Kconfig file in all arch/ Kconfigs.
Sorry for not
On Tuesday 25 September 2007, Srivatsa Vaddagiri wrote:
Index: current/kernel/sched_debug.c
===
--- current.orig/kernel/sched_debug.c
+++ current/kernel/sched_debug.c
@@ -239,11 +239,7 @@ static int
When an error occurs, existing logging uses dbg() so the cause of a
problem is hard to determine. Error conditions shouldn't only be
properly reported with debugging enabled.
A side effect of this change is that when an uninitialised device
is started, a log message similar to the following is
Hi, David,
One little thing I noticed:
+ * @cred_kernel_act_as:
+ * Set the credentials for a kernel service to act as (subjective context).
+ * @cred points to the credentials structure to be filled in.
+ * @service names the service making the request.
+ * @daemon: A userspace
Hi Henry.
On Tue, Sep 25, 2007 at 11:49:44AM +0200, Henry Nestler wrote:
In reference of git 114f51577724b782a30f4f5ceaee9880de93d776:
kbuild: use LDFLAGS_MODULE only for .ko links
Sam Ravnborg pointed out that Documentation/kbuild/makefiles.txt
already
says this is
Jonathan Corbet [EMAIL PROTECTED] wrote:
The comment describes a dentry argument, but the actual function does
not have that argument.
oops. Yeah, I decided I didn't want that there.
David
-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to
Jeff Garzik wrote:
Once the blame has been squared fixed upon me :) you can use git-bisect
to locate the precise change that broke your setup.
Okay, here's the problem:
268fe6f9f15551be9abedd44a237392675d529d5 is first bad commit
commit 268fe6f9f15551be9abedd44a237392675d529d5
Author: Jeff
commit 3556ddfa9284a86a59a9b78fe5894430f6ab4eef titled
[PATCH] x86-64: Disable local APIC timer use on AMD systems with C1E
solves a problem with AMD dual core laptops e.g. HP nx6325 (Turion 64
X2) with C1E enabled:
When both cores go into idle at the same time, then the system switches
into
On Tue, 25 Sep 2007 10:10:26 +0200 (CEST) Jan Engelhardt wrote:
Lift the FS menu a bit by moving filesystem-specific
parts into their own menu.
This is an idea I had. Comments please, if any.
Signed-off-by: Jan Engelhardt [EMAIL PROTECTED]
Hi Jan,
The current fs menu is too long IMO,
On Sep 25 2007 10:35, Greg KH wrote:
On Tue, Sep 25, 2007 at 07:03:24PM +0200, Jan Engelhardt wrote:
So, here is something that I think should go into the next 2.6.22.
A proper fix is already in 2.6.23-git-du-jour.
Feel free to send the patch, with the git commit id of the upstream
commit to
On Tue, 25 Sep 2007 10:10:14 +0200 (CEST) Jan Engelhardt wrote:
Changes NLS and DLM menus into a 'menuconfig' object
so that it can be disabled at once without having to enter
the menu first to disable the config option.
Signed-off-by: Jan Engelhardt [EMAIL PROTECTED]
Acked-by: Randy
On Tue, 25 Sep 2007 10:10:19 +0200 (CEST) Jan Engelhardt wrote:
Turn Network File Systems into a menuconfig so that it can be
disabled at once.
(Note: I added a default y. If you do not like that, speak up.)
Signed-off-by: Jan Engelhardt [EMAIL PROTECTED]
Acked-by: Randy Dunlap [EMAIL
On Tue, 25 Sep 2007 20:23:02 +0200 Bernhard Walle [EMAIL PROTECTED] wrote:
This patch adapts the ppc64 code to use the generic parse_crashkernel()
function introduced in the generic patch of that series.
I really don't like to see patches get a wholesale replacement, especially
when
These two wireless fixes are IN ADDITION to the previously submitted
fixes. Same linear history. In other words, if you pull
upstream-linus, you will get both the changes below, _and_ the changes
I submitted yesterday. If you have already pulled yesterday's fixes,
then you will only receive
On Tuesday, 25 September 2007 15:17, Thomas Gleixner wrote:
On Tue, 2007-09-25 at 15:16 +0200, Rafael J. Wysocki wrote:
[--snip--]
I start to get desperate. Below is a patch, which moves the apic timer
disable check after the calibration routine. Can you please apply on top
of -hrt and add
On Tue, 2007-09-25 at 13:37 -0400, Jeff Dike wrote:
Put back an implementation of timeval_to_ns in
arch/um/os-Linux/time.c. tglx pointed out in his review of tickless
support that there was a perfectly good implementation of it in
linux/time.h. The problem is that this is userspace code
The problem is that the garbage collector for the 'host' structures
nlm_gc_hosts(), holds nlm_host_mutex while calling down to
nlmsvc_mark_resources, which, eventually takes the file-f_mutex.
We cannot therefore call nlmsvc_lookup_host() from within
nlmsvc_create_block, since the caller will
Hi Andrew,
The 2.6.23-rc8-mm1 kernel linking fails on the powerpc (P5+) box
CC init/version.o
LD init/built-in.o
LD .tmp_vmlinux1
drivers/built-in.o: In function `memory_block_action':
/root/scrap/linux-2.6.23-rc8/drivers/base/memory.c:188: undefined reference to
Signed-off-by: Denis Cheng [EMAIL PROTECTED]
---
fs/dcache.c | 39 ++-
1 files changed, 18 insertions(+), 21 deletions(-)
diff --git a/fs/dcache.c b/fs/dcache.c
index 678d39d..05ed44a 100644
--- a/fs/dcache.c
+++ b/fs/dcache.c
@@ -1138,29 +1138,26 @@ struct
On Tue, 25 Sep 2007 21:00:36 +0200 Sam Ravnborg wrote:
Hi Sam,
Thanks for looking. I was hoping that you would find time to
look/comment on it.
Hi Mathieu Randy.
On Tue, Sep 25, 2007 at 08:11:48AM -0400, Mathieu Desnoyers wrote:
From: Randy Dunlap [EMAIL PROTECTED]
Begin
This patch Moves the trace example into the new samples/ infrastructure
Requires: [patch 3/5] Add samples subdir (http://lkml.org/lkml/2007/9/25/157)
and create samples/Makefile or apply:
[patch 4/5] Linux Kernel Markers - Samples (http://lkml.org/lkml/2007/9/25/166)
Signed-off-by: David
* Tue, 25 Sep 2007 20:22:58 +0200
This is the generic part of the patch. It adds a parse_crashkernel() function
in kernel/kexec.c that is called by the architecture specific code that
actually reserves the memory. That function takes the whole command line and
looks itself for crashkernel= in
* Randy Dunlap ([EMAIL PROTECTED]) wrote:
On Tue, 25 Sep 2007 21:00:36 +0200 Sam Ravnborg wrote:
Hi Sam,
Thanks for looking. I was hoping that you would find time to
look/comment on it.
Hi Mathieu Randy.
On Tue, Sep 25, 2007 at 08:11:48AM -0400, Mathieu Desnoyers wrote:
From:
On Tuesday, 25 September 2007 21:37, Thomas Gleixner wrote:
commit 3556ddfa9284a86a59a9b78fe5894430f6ab4eef titled
[PATCH] x86-64: Disable local APIC timer use on AMD systems with C1E
solves a problem with AMD dual core laptops e.g. HP nx6325 (Turion 64
X2) with C1E enabled:
When both
Berck E. Nash wrote:
Jeff Garzik wrote:
Once the blame has been squared fixed upon me :) you can use git-bisect
to locate the precise change that broke your setup.
Okay, here's the problem:
268fe6f9f15551be9abedd44a237392675d529d5 is first bad commit
commit
On 9/25/07, Michael Guntsche [EMAIL PROTECTED] wrote:
On Sep 25, 2007, at 19:51, Dmitry Torokhov wrote:
Hi Michael,
...
I this a wanted change or should I still see the same with 2.6.23?
Is this with CONFIG_SYSFS_DEPRECATED=y?
No, CONFIG_SYSFS_DEPRECATED is not set with both
Chuck Ebbert ha scritto:
On 08/31/2007 06:20 PM, Patrizio Bassi wrote:
Patrizio Bassi ha scritto:
Michal Piotrowski ha scritto:
Hi,
[Adding IDE wizards to CC]
On 26/08/07, Patrizio Bassi [EMAIL PROTECTED] wrote:
My sis630 chipset shipped with Asus A1000
Rafael,
On Tue, 2007-09-25 at 22:07 +0200, Rafael J. Wysocki wrote:
On Tuesday, 25 September 2007 15:17, Thomas Gleixner wrote:
On Tue, 2007-09-25 at 15:16 +0200, Rafael J. Wysocki wrote:
[--snip--]
I start to get desperate. Below is a patch, which moves the apic timer
disable check
On Sep 25, 2007, at 15:16:20, Ingo Oeser wrote:
On Tuesday 25 September 2007, Srivatsa Vaddagiri wrote:
@@ -297,7 +293,7 @@ static int __init init_sched_debug_procf
pe-proc_fops = sched_debug_fops;
#ifdef CONFIG_FAIR_USER_SCHED
- pe = create_proc_entry(root_user_share, 0644,
ich-force-hpet-ich5-quirk-to-force-detect-enable.patch
is causing the following on Etch boot:
[initscripts as usual]
Setting system clock:
[nothing happens for several seconds]
select to /dev/rtc to wait for clock tick timed out
[initscripts as usual]
Then
Randy, since I did big changes to the patch, I removed your
Signed-off-by. Tell me if you want me to add it back... (Is the From:
still valid ?)
Mathieu
Add samples subdir (updated)
From: Randy Dunlap [EMAIL PROTECTED]
Begin infrastructure for kernel code samples in the samples/ directory.
Jan Engelhardt wrote:
On Sep 26 2007 01:11, David Newall wrote:
Jan Engelhardt wrote:
On Sep 26 2007 00:40, David Newall wrote:
Miloslav Semler pointed out that a root process can chdir(..) out of its
chroot.
So what? Just do this: chdir into the root after chroot.
Alan Cox wrote:
On Fri, 21 Sep 2007 13:39:34 -0400
Phillip Susi [EMAIL PROTECTED] wrote:
David Newall wrote:
* In particular, the superuser can escape from a =91chroot jail=92 by d=
oing=20
=91mkdir foo; chroot foo; cd ..=92.
No, he can not.
The superuser can escape that way - its expected
On Tue, 2007-09-25 at 22:55 +0200, Rafael J. Wysocki wrote:
I have reworked the patch a bit so that it applies on top of 2.6.23-rc8-mm1
and compiles (my version is attached).
With this patch applied, the kernel boots correctly on the nx6325.
I know. It's basically enforced noapictimer.
But
Hello,
Similar (the same?) as in 2.6.23-rc6-mm1?
http://www.mail-archive.com/linux-kernel%40vger.kernel.org/msg208812.html
CC [M] drivers/kvm/ioapic.o
drivers/kvm/ioapic.c: In function 'ioapic_deliver':
drivers/kvm/ioapic.c:208: error: 'dest_LowestPrio' undeclared (first use
On Tue, 25 Sep 2007 16:50:21 -0400 Mathieu Desnoyers wrote:
Randy, since I did big changes to the patch, I removed your
Signed-off-by. Tell me if you want me to add it back... (Is the From:
still valid ?)
Mathieu
Heck, I dunno.
Just make it from you and SOB by me, if that works_for_you.
On Sep 25, 2007, at 22:41, Dmitry Torokhov wrote:
Ok, this is expected. Input devices were converted form class devices
into standard devices. Unless SYSFS_DEPRECTAED is set to Y sysfs
changes are expected.
Ah ok, so this is a known change. I thought about enabling it for
testing but did
* Tue, 25 Sep 2007 21:00:36 +0200
Hi Mathieu Randy.
On Tue, Sep 25, 2007 at 08:11:48AM -0400, Mathieu Desnoyers wrote:
From: Randy Dunlap [EMAIL PROTECTED]
Begin infrastructure for kernel code samples in the samples/ directory.
Add its Kconfig and Kbuild files.
Source its Kconfig file
Thomas,
On Tuesday, 25 September 2007 22:46, Thomas Gleixner wrote:
Rafael,
On Tue, 2007-09-25 at 22:07 +0200, Rafael J. Wysocki wrote:
On Tuesday, 25 September 2007 15:17, Thomas Gleixner wrote:
On Tue, 2007-09-25 at 15:16 +0200, Rafael J. Wysocki wrote:
[--snip--]
I start to
On Tue, 25 Sep 2007 13:35:47 -0700 David J. Wilder wrote:
This patch Moves the trace example into the new samples/ infrastructure
Requires: [patch 3/5] Add samples subdir (http://lkml.org/lkml/2007/9/25/157)
and create samples/Makefile or apply:
[patch 4/5] Linux Kernel Markers - Samples
On Tuesday, 25 September 2007 22:55, Thomas Gleixner wrote:
On Tue, 2007-09-25 at 22:55 +0200, Rafael J. Wysocki wrote:
I have reworked the patch a bit so that it applies on top of 2.6.23-rc8-mm1
and compiles (my version is attached).
With this patch applied, the kernel boots correctly
On Mon, Sep 10, 2007 at 04:14:56PM +0100, Arjan van de Ven wrote:
Maybe I'm too pessimistic in my assumption that external open module
writers don't actually follow mainline closely; and maybe part of me
would love for them to follow it closer, so close that they would even
consider
On Mon, 24 Sep 2007, [EMAIL PROTECTED] wrote:
I think I looked at that, and it wasn't as easy as it looked, because there
were ugly corner cases for what __builtin_return_address() returned depending
on exactly what did or didn't get inlined. Basically, it's ugly stuff - if you
try to use
Mathieu Desnoyers wrote:
Randy, since I did big changes to the patch, I removed your
Signed-off-by. Tell me if you want me to add it back... (Is the From:
still valid ?)
Mathieu
How about from: you and add
Signed-off-by: Randy Dunlap [EMAIL PROTECTED]
Thanks.
Add samples subdir (updated)
Rafael,
On Tue, 2007-09-25 at 23:28 +0200, Rafael J. Wysocki wrote:
I'm a bit confused by your earlier confirmation, that mainline w/o the
-hrt patches boots fine, when you add apicmaintimer to the kernel
command line. apicmaintimer stops the PIT like we do in -hrt and we
just use the
On Thu, Sep 20, 2007 at 04:05:09PM +0900, Tejun Heo wrote:
With sysfs_get_dentry() simplified, there's no user of
SYSFS_FLAG_REMOVED left. Kill it.
Signed-off-by: Tejun Heo [EMAIL PROTECTED]
---
This patch reverts driver/sysfs-kill-sysfs_flag_removed.patch and thus
can be removed together
humm... I think, it'd be safer to have something like the following
change in place.
The thing is that __pick_next_entity() must never be called when
first_fair(cfs_rq) == NULL. It wouldn't be a problem, should 'run_node'
be the very first field of 'struct sched_entity' (and it's the second).
On Tuesday 25 September 2007, Rafael J. Wysocki wrote:
On Tuesday, 25 September 2007 17:40, Linus Torvalds wrote:
Len - why are you guys moving stuff into CONFIG_PM_SLEEP? I know you
seem to think that absolutely *everybody* should always support suspend
and hibernation, but the fact is,
Alexey,
On Wed, 2007-09-26 at 00:50 +0400, Alexey Dobriyan wrote:
ich-force-hpet-ich5-quirk-to-force-detect-enable.patch
is causing the following on Etch boot:
[initscripts as usual]
Setting system clock:
[nothing happens for several seconds]
select to /dev/rtc to
On Tue, Sep 25, 2007 at 09:54:15PM +0200, Thomas Gleixner wrote:
On Tue, 2007-09-25 at 13:37 -0400, Jeff Dike wrote:
Put back an implementation of timeval_to_ns in
arch/um/os-Linux/time.c. tglx pointed out in his review of tickless
support that there was a perfectly good implementation of
On Wed, 2007-09-26 at 01:30 +0530, Kamalesh Babulal wrote:
Hi Andrew,
The 2.6.23-rc8-mm1 kernel linking fails on the powerpc (P5+) box
CC init/version.o
LD init/built-in.o
LD .tmp_vmlinux1
drivers/built-in.o: In function `memory_block_action':
Hi Andy,
One the patch you created in -mm is causing compile warning.
Here is the fix. Please verify.
Thanks,
Badari
arch/powerpc/mm/init_64.c: In function `vmemmap_populated':
arch/powerpc/mm/init_64.c:211: warning: passing arg 1 of
`vmemmap_section_start' makes pointer from integer without a
On Tuesday, 25 September 2007 23:44, Frans Pop wrote:
On Tuesday 25 September 2007, Rafael J. Wysocki wrote:
On Tuesday, 25 September 2007 17:40, Linus Torvalds wrote:
Len - why are you guys moving stuff into CONFIG_PM_SLEEP? I know you
seem to think that absolutely *everybody* should
Hi Linus,
please pull from:
git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux-acpi-2.6.git release
This will update the files shown below.
thanks!
-Len
ps. individual patches are available on [EMAIL PROTECTED]
and a consolidated plain patch is available here:
Jeff Garzik wrote:
Can you tell me something about this device?
[ 49.045635] ata2.00: ATA-6: Config Disk, RGL10364, max UDMA/133
[ 49.051677] ata2.00: 640 sectors, multi 1: LBA
[ 49.056321] ata2.00: configured for UDMA/133
It seems like it does not support the 'check power mode'
Jeff,
On Tue, 2007-09-25 at 17:56 -0400, Jeff Dike wrote:
On Tue, Sep 25, 2007 at 09:54:15PM +0200, Thomas Gleixner wrote:
On Tue, 2007-09-25 at 13:37 -0400, Jeff Dike wrote:
Put back an implementation of timeval_to_ns in
arch/um/os-Linux/time.c. tglx pointed out in his review of
On Thu, Sep 20, 2007 at 04:26:15PM +0900, Tejun Heo wrote:
Hello, all.
This is the second patchset of four sysfs update patchset series[1]
and to be applied on top of the first patchset[1].
I have no specific objection to this patchset, but it seems that others
still do, so I'll hold off on
Hello,
I am trying to use kprobes to measure the latency of a function by
instrumenting its call site. Basically, I find the call instruction,
and insert a kprobe with a pre-handler and post-handler at that point.
The pre-handler measures the latency (reads the TSC counter). The
post-handler
On Thu, Sep 20, 2007 at 05:05:39PM +0900, Tejun Heo wrote:
Subject: [PATCHSET 3/4] sysfs: divorce sysfs from kobject and driver model
Hello, all.
This is the third patchset of four sysfs update patchset series[1] and
to be applied on top of the second patchset[2].
Currently, sysfs
Hi
I've applied the 2.6.23-rc8-mm1 patch, and I've got a new directory
mips at root of my linux source. This directory only contain :
bcm947xx/wgt634u.c
I think that this directory bcm947xx should be added in arch/mips
subdirectory.
regards,
trem
-
To unsubscribe from this list: send the line
I get BUG: failure at mm/slab.c:591/page_get_cache()! in latest -mm
when removing the fuse module.
This patch titled kobject: remove the static array for the name
looks like it's responsible. Reverting it cures the problem.
The root of the problem seems to be, that decl_subsys() initializes
On Wednesday 26 September 2007, Rafael J. Wysocki wrote:
I compiled kernels (i386) for my laptop (Toshiba Satellite A40) with:
A) PM + SUSPEND + HIBERNATION + ACPI
B) PM + SUSPEND + ACPI
C) PM + HIBERNATION + ACPI
D) PM + ACPI
E) PM + SUSPEND + HIBERNATION but _without_ ACPI
F)
Jeff Garzik wrote:
Berck E. Nash wrote:
Jeff Garzik wrote:
Once the blame has been squared fixed upon me :) you can use git-bisect
to locate the precise change that broke your setup.
Okay, here's the problem:
268fe6f9f15551be9abedd44a237392675d529d5 is first bad commit
commit
Berck E. Nash wrote:
hdparm output attached.
Whoops, it really is this time.
/dev/sde:
427a 3fff 0010 e100 0258 003f
000e 5744 2d57 4d41 4b48 3131 3235
3131 3700 0003 4000 004a 3331
2e30 3846 3331 5744 4320 5744 3336 3047
442d 3030 464c 4132 2020 2020 2020 2020
2020
On Thu, Sep 20, 2007 at 05:31:37PM +0900, Tejun Heo wrote:
Hello, all.
This is the fourth patchset of four sysfs update patchset series[1]
and to be applied on top of the third patchset[2].
This patchset implements the following new features.
* Notify pollers on file deactivation.
This
On Wed, Sep 26, 2007 at 12:27:14AM +0200, Miklos Szeredi wrote:
I get BUG: failure at mm/slab.c:591/page_get_cache()! in latest -mm
when removing the fuse module.
This patch titled kobject: remove the static array for the name
looks like it's responsible. Reverting it cures the problem.
From: Miklos Szeredi [EMAIL PROTECTED]
mknod(foo, 0644) returns EINVAL, even though it should succeed.
The responsible patch is this:
r-o-bind-mounts-sys_mknodat-elevate-write-count-for-vfs_mknod-create.patch
Signed-off-by: Miklos Szeredi [EMAIL PROTECTED]
---
Index: linux/fs/namei.c
On Wed, Sep 26, 2007 at 12:27:14AM +0200, Miklos Szeredi wrote:
I get BUG: failure at mm/slab.c:591/page_get_cache()! in latest -mm
when removing the fuse module.
This patch titled kobject: remove the static array for the name
looks like it's responsible. Reverting it cures the
On Wed, 2007-09-26 at 00:58 +0200, Miklos Szeredi wrote:
From: Miklos Szeredi [EMAIL PROTECTED]
mknod(foo, 0644) returns EINVAL, even though it should succeed.
Just to clarify, this is for when we use mknod to create normal,
non-device files, right? Your fix looks very correct to me.
I'm
I get this at umount, if there was a failed open():
WARNING: at fs/namespace.c:586 __mntput()
I think the problem is that may_open() calls mnt_want_write(), but if
open doesn't succeed, mnt_drop_write() will not be called.
Miklos
-
To unsubscribe from this list: send the line unsubscribe
Alan Stern wrote:
On Tue, 25 Sep 2007, Tejun Heo wrote:
Alan Stern wrote:
The unloading can proceed once module_unload_inhibit_cnt reaches zero.
An unloading thread only has to care about inhibition put in effect
before unloading has started, so there's no need to check again.
You haven't
From: Miklos Szeredi [EMAIL PROTECTED]
mknod(foo, 0644) returns EINVAL, even though it should succeed.
Just to clarify, this is for when we use mknod to create normal,
non-device files, right?
Yes.
I'm curious, do you have a normal program that uses mknod(2) this way?
I'd like to
On Wed, 2007-09-26 at 01:14 +0200, Miklos Szeredi wrote:
I get this at umount, if there was a failed open():
WARNING: at fs/namespace.c:586 __mntput()
I think the problem is that may_open() calls mnt_want_write(), but if
open doesn't succeed, mnt_drop_write() will not be called.
I see
From: Randy Dunlap [EMAIL PROTECTED]
Fix function declaration:
mm/swap.c:130:22: warning: non-ANSI function declaration of function
'move_tail_pages'
Signed-off-by: Randy Dunlap [EMAIL PROTECTED]
---
mm/swap.c |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
From: Randy Dunlap [EMAIL PROTECTED]
Fix printk format warning:
fs/ecryptfs/crypto.c:1443: warning: format '%d' expects type 'int', but
argument 2 has type 'size_t'
Signed-off-by: Randy Dunlap [EMAIL PROTECTED]
---
fs/ecryptfs/crypto.c |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
* Randy Dunlap ([EMAIL PROTECTED]) wrote:
On Tue, 25 Sep 2007 13:35:47 -0700 David J. Wilder wrote:
This patch Moves the trace example into the new samples/ infrastructure
Requires: [patch 3/5] Add samples subdir
(http://lkml.org/lkml/2007/9/25/157)
and create samples/Makefile or
Mathieu Desnoyers wrote:
* Randy Dunlap ([EMAIL PROTECTED]) wrote:
On Tue, 25 Sep 2007 13:35:47 -0700 David J. Wilder wrote:
This patch Moves the trace example into the new samples/ infrastructure
Requires: [patch 3/5] Add samples subdir (http://lkml.org/lkml/2007/9/25/157)
and create
On Wed, 2007-09-26 at 08:15 +0900, Tejun Heo wrote:
I have no problem with changing the condition check to loop but it would
be great if someone can point me to a code where this unexpected wake up
is used.
This is one of those areas where we're conservative. Historically there
have been
RFC-V1
- Support for all compound functions for virtual compound pages
(including the compound_nth_page() necessary for LBS mmap support)
- Fix various bugs
- Fix i386 build
Currently there is a strong tendency to avoid larger page allocations in
the kernel because of past fragmentation issues
We already have page table manipulation for vmalloc in vmalloc.c. Move the
vmalloc_to_page() function there as well.
Move the definitions for vmalloc related functions in mm.h to before the
functions dealing with compound pages because they will soon need to use
them.
Signed-off-by: Christoph
Make vmalloc functions work the same way as kfree() and friends that
take a const void * argument.
Signed-off-by: Christoph Lameter [EMAIL PROTECTED]
---
include/linux/mm.h |4 ++--
include/linux/vmalloc.h |6 +++---
mm/vmalloc.c| 16
3 files changed,
pgtable.h does not include highmem.h but uses various constants from
highmem.h. We cannot include highmem.h because highmem.h will in turn
include many other include files that also depend on pgtable.h
So move the definitions from highmem.h into pgtable.h.
Signed-off-by: Christoph Lameter [EMAIL
is_vmalloc_addr() is used in a couple of places. Add a version to vmalloc.h
and replace the other checks.
Signed-off-by: Christoph Lameter [EMAIL PROTECTED]
---
drivers/net/cxgb3/cxgb3_offload.c |4 +---
fs/ntfs/malloc.h |3 +--
fs/proc/kcore.c |2
The page array is repeatedly indexed both in vunmap and vmalloc_area_node().
Add a temporary variable to make it easier to read (and easier to patch
later).
Signed-off-by: Christoph Lameter [EMAIL PROTECTED]
---
mm/vmalloc.c | 16 +++-
1 file changed, 11 insertions(+), 5
Make vunmap return the page array that was used at vmap. This is useful
if one has no structures to track the page array but simply stores the
virtual address somewhere. The disposition of the page array can be
decided upon after vunmap. vfree() may now also be used instead of
vunmap which will
Sometimes we need to figure out which vmalloc address is in use
for a certain page struct. There is no easy way to figure out
the vmalloc address from the page struct. So simply search through
the kernel page tables to find the address. This is a fairly expensive
process. Use sparingly (or provide
Currently vmalloc is used for the zone wait table possibly generating the need
to generate lots of TLBs to access the tables. We can now use GFP_VFALLBACK to
attempt the use of a physically contiguous page that can then use the large
kernel TLBs.
Signed-off-by: Christoph Lameter [EMAIL PROTECTED]
This is in particular useful for large I/Os because it will allow 100
allocs from the SLUB fast path without having to go to the page allocator.
Signed-off-by: Christoph Lameter [EMAIL PROTECTED]
---
fs/buffer.c |3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
Index:
Signed-off-by: Christoph Lameter [EMAIL PROTECTED]
---
fs/dcache.c |3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
Index: linux-2.6/fs/dcache.c
===
--- linux-2.6.orig/fs/dcache.c 2007-09-24 16:47:43.0 -0700
+++
SLAB_VFALLBACK can be specified for selected slab caches. If fallback is
available then the conservative settings for higher order allocations are
overridden. We then request an order that can accomodate at mininum
100 objects. The size of an individual slab allocation is allowed to reach
up to
If we are in an interrupt context then simply defer the free via a workqueue.
Removing a virtual mappping *must* be done with interrupts enabled
since tlb_xx functions are called that rely on interrupts for
processor to processor communications.
Signed-off-by: Christoph Lameter [EMAIL PROTECTED]
In an interrupt context we cannot wait for the vmlist_lock in
__get_vm_area_node(). So use a trylock instead. If the trylock fails
then the atomic allocation will fail and subsequently be retried.
This only works because the flush_cache_vunmap in use for
allocation is never performing any IPIs in
801 - 900 of 1010 matches
Mail list logo