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 lo
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
>com
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: Ra
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 Dunl
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 t
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 t
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 a
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 alre
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
`.remove_me
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 Wilde
* 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 "crashkerne
* 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 wr
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:
>
> Whe
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 268fe6f9f15551be9abedd44a237392675d
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
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:
>
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
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.
A
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 expecte
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".
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 i
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 it
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--]
> > >
> >
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 - Samp
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 cor
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 s
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
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
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).
Th
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
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/r
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 implementati
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':
> /root/scrap/li
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* sh
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:
ftp://ftp.kernel.org/pub/
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 mo
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 o
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
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 meas
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, sysf
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 t
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
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 268fe6f9f15551b
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 20
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
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 prob
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 cu
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 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 linux-
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
> > 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?
>
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 se
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(-)
--- linux-2.6.23-rc8-mm
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/Ma
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 sample
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 ra
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 Lam
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 deletion
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 rel
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: linux-2.6/fs/
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 256
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
Virtual fallbacks are rare and thus subtle bugs may creep in if we do not
test the fallbacks. CONFIG_VFALLBACK_ALWAYS makes all GFP_VFALLBACK
allocations fall back to virtual mapping.
Signed-off-by: Christoph Lameter <[EMAIL PROTECTED]>
---
lib/Kconfig.debug | 11 +++
mm/page_alloc.c
Sparsemem currently attempts first to do a physically contiguous mapping
and then falls back to vmalloc. The same thing can now be accomplished
using GFP_VFALLBACK.
Signed-off-by: Christoph Lameter <[EMAIL PROTECTED]>
---
mm/sparse.c | 23 +++
1 file changed, 3 insertions(+
If bit waitqueue is passed a virtual address then it must use
vmalloc_to_page instead of virt_to_page to get to the page struct.
Signed-off-by: Christoph Lameter <[EMAIL PROTECTED]>
---
kernel/wait.c |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Index: linux-2.6/kernel/wait.c
===
Add a new gfp flag
__GFP_VFALLBACK
If specified during a higher order allocation then the system will fall
back to vmap and attempt to create a virtually contiguous area instead of
a physically contiguous area. In many cases the virtually contiguous area
can stand in for the physically co
Alan Cox wrote:
On Wed, 26 Sep 2007 01:05:07 +0930
David Newall <[EMAIL PROTECTED]> wrote:
Alan Cox wrote:
Marek's loading dynamic libraries, it seems clear that the prime purpose
of chroot is to aid security. Being able to cd your way out is handy
Does it - I can't find a
Andi,
Sorry to have taken so long to take another step with this problem.
Once my customers had a work-around, other priorities crowded out
this project. Today Chuck and I did a little more work. We'd heard
that a more recent kernel alleged to fix this stuff. Doing some
digging, we ca
This is a followup to http://lkml.org/lkml/2007/8/24/280
Despite Grant's desire for a more elegant solution, there's
not much new here. I moved the API change from pci.h to
dma-mapping.h and removed the pci_ prefix from the name.
Problem Description
---
On Altix, DMA may be r
Introduce the dma_flags_set_dmaflush() interface and give it
a default no-op implementation.
Signed-off-by: Arthur Kepner <[EMAIL PROTECTED]>
--
dma-mapping.h |7 +++
1 file changed, 7 insertions(+)
diff --git a/include/linux/dma-mapping.h b/include/linux/dma-mapping.h
index 2dc21cb..
define dma_flags_set_dmaflush() for sn-ia64 - it "borrows"
bits from the direction argument (renamed "flags") to the
dma_map_* routines to pass an additional "dmaflush" attribute.
Also define routines to retrieve the original direction and
attribute from "flags".
Signed-off-by: Arthur Kepner <[EM
Document dma_flags_set_dmaflush().
Signed-off-by: Arthur Kepner <[EMAIL PROTECTED]>
--
DMA-mapping.txt | 25 -
1 file changed, 24 insertions(+), 1 deletion(-)
diff --git a/Documentation/DMA-mapping.txt b/Documentation/DMA-mapping.txt
index e07f253..31e3234 100644
--- a
Use the dma_flags_set_dmaflush() interface to allow a "dmaflush"
attribute to be associated with user-allocated memory. (For now,
it's only implemented for mthca.)
Signed-off-by: Arthur Kepner <[EMAIL PROTECTED]>
--
drivers/infiniband/core/umem.c |7 +--
drivers/infiniban
> Good call. Though I suppose, since it's used 24x7 to aid security on
> countless production servers, that security dwarfs testing. Still,
> debugging, yes that's valid.
>
> I don't suppose it makes and difference; whatever the purpose, a chroot
> that doesn't change the root is buggy.
It d
On Tue, Sep 25, 2007 at 04:53:00PM -0400, Phillip Susi wrote:
> 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;
On Wed, Sep 26, 2007 at 01:02:37AM +0200, Miklos Szeredi wrote:
> > 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 st
duplicated .mmap in one, .vidioc_s_audio misspelled as .vidioc_g_audio
in other
Signed-off-by: Al Viro <[EMAIL PROTECTED]>
---
drivers/media/video/usbvision/usbvision-video.c |5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/drivers/media/video/usbvision/usbvision-vide
Signed-off-by: Al Viro <[EMAIL PROTECTED]>
---
drivers/net/mv643xx_eth.c |2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/drivers/net/mv643xx_eth.c b/drivers/net/mv643xx_eth.c
index 6a117e9..456d1e1 100644
--- a/drivers/net/mv643xx_eth.c
+++ b/drivers/net/mv643xx_eth.c
@@
301 - 400 of 503 matches
Mail list logo