On Thu, 11 Oct 2007 08:47:01 +0200 Vegard Nossum <[EMAIL PROTECTED]> wrote:
> This makes sure printk format strings contain no more than a single
> line.
>
> Signed-off-by: Vegard Nossum <[EMAIL PROTECTED]>
> ---
> mm/page_alloc.c | 20 +++-
> 1 files changed, 11 insertions(+),
At the moment, static_prio_timeslice() is only used in
sys_sched_rr_get_interval() and only gives the correct result for
SCHED_FIFO and SCHED_RR tasks as the time slice for normal tasks is
unrelated to the values returned by static_prio_timeslice().
This patch addresses this problem and in the
Pierre Peiffer wrote:
With the use of idr to store the ipc, the case where the idr cache is
empty, when idr_get_new is called (this may happen even if we call
idr_pre_get() before), is not well handled: it lets semget()/shmget()/msgget()
return ENOSPC when this cache is empty, what 1. does not re
This makes sure printk format strings contain no more than a single
line.
Signed-off-by: Vegard Nossum <[EMAIL PROTECTED]>
---
mm/page_alloc.c | 20 +++-
1 files changed, 11 insertions(+), 9 deletions(-)
diff --git a/mm/page_alloc.c b/mm/page_alloc.c
index 1a8c595..96f0b33 1006
At the moment, a lot of load balancing code that is irrelevant to non
SMP systems gets included during non SMP builds.
This patch addresses this issue and should reduce the binary size on non
SMP systems.
This patch assumes that the "sched: Reduce overhead in balance_tasks()"
(non urgent) pa
Call For Presentations
==
We are happy to announce that the Call for Presentations for LCA
Kernel Miniconf is now open.
LCA Kernel Miniconf is part of linux.conf.au, the annual
Australian Linux & open source developers' conference.
When: 29th January 2008
Where: Melbourne Univer
Rik van Riel wrote:
> On Tue, 02 Oct 2007 09:51:11 +0530
> Balbir Singh <[EMAIL PROTECTED]> wrote:
>
>> I was hopeful of getting the bare minimal infrastructure for memory
>> control in mainline, so that review is easy and additional changes
>> can be well reviewed as well.
>
> I am not yet convi
On 10/11/07, Aurelien Jarno <[EMAIL PROTECTED]> wrote:
> Markus Rechberger a écrit :
> > On 10/11/07, Linus Torvalds <[EMAIL PROTECTED]> wrote:
> >> As such, the old and decrepit em28xx driver seems more useful to people,
> >> since at least it supports the limited set of hardware on its own.
> >
>
The coredump code always calls set_dumpable(0) when it starts (even
if RLIMIT_CORE prevents any core from being dumped). The effect of
this (via task_dumpable) is to make /proc/pid/* files owned by root
instead of the user, so the user can no longer examine his own
process--in a case where there
Torsten Kaiser wrote:
>>> That missing +1 would explain, why the SGE_TRM never gets set.
>> Thanks a lot for tracking this down. Does changing the above code fix
>> your problem?
>
> I did not try it.
> I'm not an libata expert and while this change looks suspicios, I
> can't be 100% sure if that
This makes sure printk format strings contain no more than a single
line.
Signed-off-by: Vegard Nossum <[EMAIL PROTECTED]>
---
kernel/time/timer_list.c |6 --
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/kernel/time/timer_list.c b/kernel/time/timer_list.c
index fdb2e03..
This makes sure printk format strings are string literals containing no
more than a single line.
Signed-off-by: Vegard Nossum <[EMAIL PROTECTED]>
---
init/calibrate.c|4 +++-
init/do_mounts_initrd.c |5 -
init/main.c |2 +-
3 files changed, 8 insertions(+), 3
Markus Rechberger a écrit :
> On 10/11/07, Linus Torvalds <[EMAIL PROTECTED]> wrote:
>> As such, the old and decrepit em28xx driver seems more useful to people,
>> since at least it supports the limited set of hardware on its own.
>
> it does not since it's broken and feature limited. On the other
On 10/11/07, Tejun Heo <[EMAIL PROTECTED]> wrote:
> Torsten Kaiser wrote:
> > Looking closer at
> > http://git.kernel.org/?p=linux/kernel/git/axboe/linux-2.6-block.git;a=commitdiff;h=ec6fdded4d76aa54aa57341e5dfdd61c507b1dcd
> > the change to libata.h seems bogus :
> >
> > in ata_qc_first_sg:
> > ol
On Thu, Oct 11, 2007 at 03:52:04PM +1000, Paul Mackerras wrote:
> Olof Johansson writes:
>
> > Don't allow cpu hotplug on systems lacking XICS interrupt controller,
> > since current code is hardcoded for it.
> ...
> > + for (np = NULL; (np = of_find_node_by_name(np,
> > +
Olof Johansson writes:
> Don't allow cpu hotplug on systems lacking XICS interrupt controller,
> since current code is hardcoded for it.
...
> + for (np = NULL; (np = of_find_node_by_name(np,
> +"interrupt-controller"));) {
Looks like for_each_n
On 10/11/07, Andrew Morton <[EMAIL PROTECTED]> wrote:
> On Thu, 11 Oct 2007 07:09:47 +0200 "Markus Rechberger"
> <[EMAIL PROTECTED]> wrote:
>
> > On 10/11/07, Andrew Morton <[EMAIL PROTECTED]> wrote:
> > > On Thu, 11 Oct 2007 01:00:39 +0200
> > > "Markus Rechberger" <[EMAIL PROTECTED]> wrote:
> > >
On Thu, 11 Oct 2007 07:09:47 +0200 "Markus Rechberger" <[EMAIL PROTECTED]>
wrote:
> On 10/11/07, Andrew Morton <[EMAIL PROTECTED]> wrote:
> > On Thu, 11 Oct 2007 01:00:39 +0200
> > "Markus Rechberger" <[EMAIL PROTECTED]> wrote:
> >
> > Please don't send 900 line emails to which you have added onl
On Wed, Oct 10, 2007 at 03:36:58PM +0200, Andi Kleen wrote:
> On Wednesday 10 October 2007 03:59:22 Siddha, Suresh B wrote:
> > Appended patch fixes an oops while changing the vsyscall sysctl.
> > I am sure no one tested this code before integrating into mainline :(
>
> The original code worked, b
On Thu, 4 Oct 2007 14:51:39 -0700 Mark Gross <[EMAIL PROTECTED]> wrote:
> The following patch is a generalization of the latency.c implementation
> done by Arjan last year. It provides infrastructure for more than one
> parameter, and exposes a user mode interface for processes to register
> pm_q
On 10/11/07, Andrew Morton <[EMAIL PROTECTED]> wrote:
> On Thu, 11 Oct 2007 01:00:39 +0200
> "Markus Rechberger" <[EMAIL PROTECTED]> wrote:
>
> Please don't send 900 line emails to which you have added only an additional
> paragraph.
>
> > > drivers/media/video/em28xx/em28xx-core.c |
On 10/11/07, Chuck Ebbert <[EMAIL PROTECTED]> wrote:
> On 10/10/2007 07:24 PM, Markus Rechberger wrote:
> >
> > To point to more changes within the available driver which hasn't been
> merged
> > within the last 1 1/2 years:
> > * it supports non usbaudio based video devices.
> > * has support for
On 10/11/07, Linus Torvalds <[EMAIL PROTECTED]> wrote:
>
>
> On Thu, 11 Oct 2007, Markus Rechberger wrote:
> >
> > the chances of the em28xx are not accepted from my side since the latest
> code
> > which supports way more hardware is offtree for various reasons.
>
> Well, I've talked to various pe
Hi Linus,
(previous email including the whole patch set is too big for the LKML, then
here is the new one)
This set of commits are for Blackfin architecture updates for 2.6.24 merge
window,
only thing related with Blackfin arch and some drivers will be sent out later
for LKML review
- Blackf
Torsten Kaiser wrote:
> Looking closer at
> http://git.kernel.org/?p=linux/kernel/git/axboe/linux-2.6-block.git;a=commitdiff;h=ec6fdded4d76aa54aa57341e5dfdd61c507b1dcd
> the change to libata.h seems bogus :
>
> in ata_qc_first_sg:
> oldnew
> return qc->__sg
On Friday 12 October 2007 10:56, Berkley Shands wrote:
> 100% reproducible on the two motherboards in question.
> Does not happen on any other motherboard I have in my possession
> (not tyan, not uniwide, not socket 940...)
>
> No errors, no dmesg, nothing with debug_spinlock set.
> shows lots (wh
> > + doms = kmalloc(sizeof(cpumask_t), GFP_KERNEL);
> > + *doms = top_cpuset.cpus_allowed;
>
> We generally only excuse failure to check kmalloc return value when the
> code is called on the bootup path. But this code is called at other times.
>
> >
> > ...
> > + doms_cur
Greg Cormier skrev:
> I've been having issues recently (couple of weeks?) with my server. I
> have three WD5000YS (500gb) drives in RAID5, on an Asus A8N
> motherboard which is nForce 4. I've even RMA'd one of the drives, but
> now I'm thinking the drives are fine.
Intel/VIA motherboard and softwa
On Wed, Oct 10, 2007 at 07:50:52AM -0400, Steven Rostedt wrote:
> On Tue, Oct 09, 2007 at 11:49:53AM -0700, Mike Kravetz wrote:
> > The more I try understand the IPI handling the more confused I get. :(
> > At fist I was concerned about an IPI happening in the middle of the
> > __schedule routine.
On Wed, 2007-10-10 at 12:14 +0200, Ingo Molnar wrote:
> * Nicholas Miell <[EMAIL PROTECTED]> wrote:
>
> > Does CFS still generate the following sysbench graphs with 2.6.23, or
> > did that get fixed?
> >
> > http://people.freebsd.org/~kris/scaling/linux-pgsql.png
> > http://people.freebsd.org/~k
On Sat, 06 Oct 2007 02:47:47 -0700 Paul Jackson <[EMAIL PROTECTED]> wrote:
> From: Paul Jackson <[EMAIL PROTECTED]>
>
> Add a new per-cpuset flag called 'sched_load_balance'.
>
> When enabled in a cpuset (the default value) it tells the kernel
> scheduler that the scheduler should provide the no
Hi :)
I have two harddisks with encfs on top of reiserfs between which I could copy
data at ~22MB/s before the upgrade from 2.6.22 to 2.6.23.
After the upgrade the transfer rate stuck at ~14MB/s and changing nice values
did not help anything.
And now the funny part:
I noticed the transfer rate
This patch implements the functionality of jumping between the kexeced
kernel and the original kernel.
A new flag for sys_kexec_load named KEXEC_JUMP_BACK is added to
indicate that the loaded kernel image is used for jumping back.
To support jumping between two kernels, before jumping to (executi
Hi,
I have few questions about .suspend()/.resume() driver functions and how best
to write them.
I have written a support for suspend/resume for saa7134 v4l driver.
Now looking at code again and again, I found few problems, and I am seeking
your advice how to fix them.
First of all the .suspen
Kexec base hibernation has some potential advantages over uswsusp and
TuxOnIce (suspend2). Some most obvious advantages are:
1. The hibernation image size can exceed half of memory size easily.
2. The hibernation image can be written to and read from almost
anywhere, such as USB disk, NFS.
3.
This patch adds writing support for /dev/oldmem. This is used to
restore the memory contents of hibernated system.
Signed-off-by: Huang Ying <[EMAIL PROTECTED]>
---
Index: linux-2.6.23-rc6/arch/i386/kernel/crash_dump.c
===
--- linux
On 10/10/07, David Newall <[EMAIL PROTECTED]> wrote:
> Russ Dill wrote:
> > I've been having a back and forth going for a while with my TA and OS
> > professor on the meaning of profile=3 and have been unable to convince
> > either of them. The basic question is if profile=3 is passed to kernel
> >
Russ Dill wrote:
I've been having a back and forth going for a while with my TA and OS
professor on the meaning of profile=3 and have been unable to convince
either of them. The basic question is if profile=3 is passed to kernel
with an 8MB text section, how big is the allocated profile buffer. H
On Wed, 2007-10-10 at 12:14 +0200, Ingo Molnar wrote:
> * Nicholas Miell <[EMAIL PROTECTED]> wrote:
>
> > Does CFS still generate the following sysbench graphs with 2.6.23, or
> > did that get fixed?
> >
> > http://people.freebsd.org/~kris/scaling/linux-pgsql.png
> > http://people.freebsd.org/~k
100% reproducible on the two motherboards in question.
Does not happen on any other motherboard I have in my possession
(not tyan, not uniwide, not socket 940...)
No errors, no dmesg, nothing with debug_spinlock set.
shows lots (when it works), but by then too many things are
locked up to be of
It is very well possible that I misunderstand the locking order here,
but FWIW:
David Howells wrote:
> diff --git a/fs/bfs/inode.c b/fs/bfs/inode.c
> index f346eb1..76798c9 100644
> --- a/fs/bfs/inode.c
> +++ b/fs/bfs/inode.c
> @@ -32,25 +32,29 @@ MODULE_LICENSE("GPL");
>
> void dump_imap(const
Mike wrote:
Hello,
Anyone know if Kernel2.4 support the Marvell's 88SE6121 SATA
controller? Or any other similar SATA controller follows AHCI? Does
Kernel2.4 use libata or CAM-ata?
Thanks for any help,
Mike
There were some libata backports to 2.4, but I think they are quite out
of date now
Linus Torvalds writes:
> On Wed, 10 Oct 2007, Thomas Gleixner wrote:
> >
> > Wrapping it into a #ifdef CONFIG_X86 would be sufficient.
>
> Well, the ppc oops seems to be a ppc bug regardless.
Sure. And Milton and Olof have figured out what the problem is and
proposed patches to fix it.
Howeve
On Oct 11 2007 00:13, Russ Dill wrote:
>
>/* only text is profiled */
>> prof_len = (unsigned *) &_etext - (unsigned *) &_stext;
Uh, that's some evil pointer arithmetic :)
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a me
/* only text is profiled */
> prof_len = (unsigned *) &_etext - (unsigned *) &_stext;
Crap, sorry, accidentally sent a version I had laying around demonstrating how
one *would* get the answer he expects. The correct line is of course:
prof_len = (unsigned long) &_e
I've been having a back and forth going for a while with my TA and OS
professor on the meaning of profile=3 and have been unable to convince
either of them. The basic question is if profile=3 is passed to kernel
with an 8MB text section, how big is the allocated profile buffer. His
answer is 1MB...
[EMAIL PROTECTED] wrote:
What David meant was that "root will always have a slot" doesn't *actually*
help unless you *also* have a way to actually *spawn* such a process. In order
to do the ps, kill, and so on that you need to recover, you need to already
have either a root shell available, or a
Dear Jiri,
On Wed, Oct 10, 2007 at 09:55:26AM +0200, Jiri Kosina wrote:
> On Wed, 10 Oct 2007, John Zaitseff wrote:
>
> > The following patch to Linux kernel 2.6.23 enables most of the
> > extra keys found on the Microsoft Natural Ergonomic 4000 USB
> > keyboard. I had to add one keycode to incl
On Thu, 11 Oct 2007, Markus Rechberger wrote:
>
> the chances of the em28xx are not accepted from my side since the latest code
> which supports way more hardware is offtree for various reasons.
Well, I've talked to various people, and none of the main kernel people
end up being at all interes
On Thu, 11 Oct 2007 01:00:39 +0200
"Markus Rechberger" <[EMAIL PROTECTED]> wrote:
Please don't send 900 line emails to which you have added only an additional
paragraph.
> > drivers/media/video/em28xx/em28xx-core.c |1 -
> > drivers/media/video/em28xx/em28xx-input.c |1
On 10/10/2007 07:24 PM, Markus Rechberger wrote:
>
> To point to more changes within the available driver which hasn't been merged
> within the last 1 1/2 years:
> * it supports non usbaudio based video devices.
> * has support for dvb-t/atsc
> * allows multiple device node access in case of analo
Ingo Molnar <[EMAIL PROTECTED]> writes:
> - an uncommon embedded config combinatio: if CONFIG_EMBEDDED=y and
> CONFIG_BLOCK is unset. (a normally useless combination)
Uncommon but far from useless - may be pure initramfs-based.
--
Krzysztof Halasa
-
To unsubscribe from this list: send the line
On 10/11/07, Markus Rechberger <[EMAIL PROTECTED]> wrote:
> On 10/10/07, Mauro Carvalho Chehab <[EMAIL PROTECTED]> wrote:
> > Linus,
> >
> > Please pull from:
> >
> ssh://master.kernel.org/pub/scm/linux/kernel/git/mchehab/v4l-dvb.git
> > master
> >
> > We have 300+ patches this time, covering lots
As explained on:
http://www.avrfreaks.net/index.php?name=PNphpBB2&file=viewtopic&t=53307
If the current process is preempted before it can copy RAR_SUP and RSR_SUP
both register are lost and the process will segfault as soon as it return from
the syscall since the return adress will be corrupted.
On Tue, Oct 09, 2007 at 08:30:11PM +0200, Joerg Roedel wrote:
>...
> But you are right with the redundant mca and mce variables. They are not
> needed and I will inline the cpu_has() checks into the condition check.
> I'll resubmit tomorrow.
Please don't let Oley bring you away from the right path
From: Sean Hefty <[EMAIL PROTECTED]>
Date: Wed, 10 Oct 2007 14:01:07 -0700
> > The hack to use a socket and bind it to claim the port was just for
> > demostrating the idea. The correct solution, IMO, is to enhance the
> > core low level 4-tuple allocation services to be more generic (eg: not
On 10/10/07, Mauro Carvalho Chehab <[EMAIL PROTECTED]> wrote:
> Linus,
>
> Please pull from:
> ssh://master.kernel.org/pub/scm/linux/kernel/git/mchehab/v4l-dvb.git
> master
>
> We have 300+ patches this time, covering lots of drivers improvements and
> fixes.
>
> Also, there are several cor
From: Rob Landley <[EMAIL PROTECTED]>
Rip out hardwired cross compiler name assumption that only m68k makes.
Signed-off-by: Rob Landley <[EMAIL PROTECTED]>
---
When you cross compile, you have to set the prefix CROSS_COMPILE to your
cross compiler prefix. You need to do this for all targets (arm
The m68k Kconfig tries to select a symbol (APM_EMULATION) that doesn't exist.
I did this to fix it, without really understanding the larger problem. (Did
APM go away?) Just FYI...
Rob
diff -r 79f0ea1e0e70 drivers/macintosh/Kconfig
--- a/drivers/macintosh/Kconfig Tue Oct 09 21:00:40 2007 +
On Thursday 11 October 2007 01:33, Berkley Shands wrote:
> 2.6.23 with CONFIG_DEBUG_SPINLOCK on does not hang under very high write
> loads to either an LSIELP (write rate 1.1GB/Sec) or to a highpoint
> RR2340 (write rate 1.0GB/Sec). With CONFIG_DEBUG_SPINLOCK off however, the
> system hangs wi
Linus,
Please pull from:
ssh://master.kernel.org/pub/scm/linux/kernel/git/mchehab/v4l-dvb.git
master
We have 300+ patches this time, covering lots of drivers improvements and fixes.
Also, there are several core changes:
- Unified support for Hybrid tuners on both V4L and DVB cor
Remove the old iget() call and the read_inode() superblock operation it uses
as these are really obsolete, and the use of read_inode() does not produce
proper error handling (no distinction between ENOMEM and EIO when marking
an inode bad).
Furthermore, this removes the temptation to use iget() to
Christoph Lameter wrote:
> I believe that virtualization support needed a full pgd.
>
Yes, Xen requires it for PAE pgds, at least at the moment. But native,
lguest, vmi and kvm don't. I'd made it so that the memory overhead was
only paid in the Xen case. Allocating a whole page all the time
Stop the OPENPROMFS filesystem from using iget() and read_inode(). Replace
openpromfs_read_inode() with openpromfs_iget(), and call that instead of
iget(). openpromfs_iget() then uses iget_locked() directly and returns a
proper error code instead of an inode in the event of an error.
openpromfs_
Stop the HPPFS filesystem from using iget() and read_inode(). Provide an
hppfs_iget(), and call that instead of iget(). hppfs_iget() then uses
iget_locked() directly and returns a proper error code instead of an inode in
the event of an error.
hppfs_fill_sb_common() returns any error incurred wh
Stop the HOSTFS filesystem from using iget() and read_inode(). Provide
hostfs_iget(), and call that instead of iget(). hostfs_iget() then uses
iget_locked() directly and returns a proper error code instead of an inode in
the event of an error.
hostfs_fill_sb_common() returns any error incurred w
Stop the ROMFS filesystem from using iget() and read_inode(). Replace
romfs_read_inode() with romfs_iget(), and call that instead of iget().
romfs_iget() then uses iget_locked() directly and returns a proper error code
instead of an inode in the event of an error.
romfs_fill_super() returns any e
Stop the UFS filesystem from using iget() and read_inode(). Replace
ufs_read_inode() with ufs_iget(), and call that instead of iget().
ufs_iget() then uses iget_locked() directly and returns a proper error code
instead of an inode in the event of an error.
ufs_fill_super() returns any error incur
Stop the PROCFS filesystem from using iget() and read_inode(). Merge
procfs_read_inode() into procfs_get_inode(), and have that call iget_locked()
instead of iget().
Signed-off-by: David Howells <[EMAIL PROTECTED]>
---
fs/proc/inode.c | 60 ++---
Stop the SYSV filesystem from using iget() and read_inode(). Replace
sysv_read_inode() with sysv_iget(), and call that instead of iget().
sysv_iget() then uses iget_locked() directly and returns a proper error code
instead of an inode in the event of an error.
Signed-off-by: David Howells <[EMAIL
Stop the MINIX filesystem from using iget() and read_inode(). Replace
minix_read_inode() with minix_iget(), and call that instead of iget().
minix_iget() then uses iget_locked() directly and returns a proper error code
instead of an inode in the event of an error.
minix_fill_super() returns any e
Stop the QNX4 filesystem from using iget() and read_inode(). Replace
qnx4_read_inode() with qnx4_iget(), and call that instead of iget().
qnx4_iget() then uses iget_locked() directly and returns a proper error code
instead of an inode in the event of an error.
qnx4_fill_super() returns any error
Stop the JFFS2 filesystem from using iget() and read_inode(). Replace
jffs2_read_inode() with jffs2_iget(), and call that instead of iget().
jffs2_iget() then uses iget_locked() directly and returns a proper error code
instead of an inode in the event of an error.
jffs2_do_fill_super() returns an
Stop the JFS filesystem from using iget() and read_inode(). Replace
jfs_read_inode() with jfs_iget(), and call that instead of iget().
jfs_iget() then uses iget_locked() directly and returns a proper error code
instead of an inode in the event of an error.
jfs_fill_super() returns any error incur
Stop the HFSPLUS filesystem from using iget() and read_inode(). Replace
hfsplus_read_inode() with hfsplus_iget(), and call that instead of iget().
hfsplus_iget() then uses iget_locked() directly and returns a proper error code
instead of an inode in the event of an error.
hfsplus_fill_super() ret
Stop the ISOFS filesystem from using read_inode(). Make isofs_read_inode()
return an error code, and make isofs_iget() pass it on.
Signed-off-by: David Howells <[EMAIL PROTECTED]>
---
fs/isofs/inode.c | 25 +
1 files changed, 17 insertions(+), 8 deletions(-)
diff --gi
Stop the FAT filesystem from using iget() and read_inode(). Replace
the call to iget() with a call to ilookup().
Signed-off-by: David Howells <[EMAIL PROTECTED]>
---
fs/fat/inode.c |6 ++
1 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/fs/fat/inode.c b/fs/fat/inode.c
inde
Stop the FreeVXFS filesystem from using iget() and read_inode(). Replace
vxfs_read_inode() with vxfs_iget(), and call that instead of iget().
vxfs_iget() then uses iget_locked() directly and returns a proper error code
instead of an inode in the event of an error.
vxfs_fill_super() returns any er
Stop the FUSE filesystem from using read_inode(), which it doesn't use anyway.
Signed-off-by: David Howells <[EMAIL PROTECTED]>
---
fs/fuse/inode.c |6 --
1 files changed, 0 insertions(+), 6 deletions(-)
diff --git a/fs/fuse/inode.c b/fs/fuse/inode.c
index 5448f62..2986654 100644
--- a/
Stop the EXT3 filesystem from using iget() and read_inode(). Replace
ext3_read_inode() with ext3_iget(), and call that instead of iget().
ext3_iget() then uses iget_locked() directly and returns a proper error code
instead of an inode in the event of an error.
ext3_fill_super() returns any error
Stop the EXT4 filesystem from using iget() and read_inode(). Replace
ext4_read_inode() with ext4_iget(), and call that instead of iget().
ext4_iget() then uses iget_locked() directly and returns a proper error code
instead of an inode in the event of an error.
ext4_fill_super() returns any error
Stop the EXT2 filesystem from using iget() and read_inode(). Replace
ext2_read_inode() with ext2_iget(), and call that instead of iget().
ext2_iget() then uses iget_locked() directly and returns a proper error code
instead of an inode in the event of an error.
ext2_fill_super() returns any error
Stop the CIFS filesystem from using iget() and read_inode(). Replace
cifs_read_inode() with cifs_iget(), and call that instead of iget().
cifs_iget() then uses iget_locked() directly and returns a proper error code
instead of an inode in the event of an error.
cifs_read_super() now returns any er
Stop the EFS filesystem from using iget() and read_inode(). Replace
efs_read_inode() with efs_iget(), and call that instead of iget().
efs_iget() then uses iget_locked() directly and returns a proper error code
instead of an inode in the event of an error.
efs_fill_super() returns any error incur
Stop the BEFS filesystem from using iget() and read_inode(). Replace
befs_read_inode() with befs_iget(), and call that instead of iget().
befs_iget() then uses iget_locked() directly and returns a proper error code
instead of an inode in the event of an error.
befs_fill_super() returns any error
Stop the BFS filesystem from using iget() and read_inode(). Replace
bfs_read_inode() with bfs_iget(), and call that instead of iget().
bfs_iget() then uses iget_locked() directly and returns a proper error code
instead of an inode in the event of an error.
bfs_fill_super() returns any error incur
Stop the AFFS filesystem from using iget() and read_inode(). Replace
affs_read_inode() with affs_iget(), and call that instead of iget().
affs_iget() then uses iget_locked() directly and returns a proper error code
instead of an inode in the event of an error.
affs_fill_super() returns any error
Stop the autofs filesystem from using iget() and read_inode(). Replace
autofs_read_inode() with autofs_iget(), and call that instead of iget().
autofs_iget() then uses iget_locked() directly and returns a proper error code
instead of an inode in the event of an error.
Signed-off-by: David Howells
Use iget_failed() in GFS2 to kill a failed inode.
Signed-off-by: David Howells <[EMAIL PROTECTED]>
---
fs/gfs2/inode.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/fs/gfs2/inode.c b/fs/gfs2/inode.c
index 34f7bcd..498844f 100644
--- a/fs/gfs2/inode.c
+++ b/fs/gfs2/ino
Hi Christoph, Al,
Here's a set of patches that remove all calls to iget() and all read_inode()
functions. They should be removed for two reasons: firstly they don't lend
themselves to good error handling, and secondly their presence is a temptation
for code outside a filesystem to call iget() t
Use iget_failed() in AFS to kill a failed inode.
Signed-off-by: David Howells <[EMAIL PROTECTED]>
---
fs/afs/inode.c |5 +
1 files changed, 1 insertions(+), 4 deletions(-)
diff --git a/fs/afs/inode.c b/fs/afs/inode.c
index d196840..ca9b02f 100644
--- a/fs/afs/inode.c
+++ b/fs/afs/inode.
Introduce a function to register failure in an inode construction path. This
includes marking the inode under construction as bad, unlocking it and
releasing it.
Signed-off-by: David Howells <[EMAIL PROTECTED]>
---
Documentation/filesystems/porting | 18 +-
fs/bad_inode.c
Convert instances of ERR_PTR(PTR_ERR(p)) to ERR_CAST(p) using:
perl -spi -e 's/ERR_PTR[(]PTR_ERR[(](.*)[)][)]/ERR_CAST(\1)/' `grep -rl
'ERR_PTR[(]*PTR_ERR' fs crypto net security`
Signed-off-by: David Howells <[EMAIL PROTECTED]>
---
crypto/cbc.c |2 +-
crypto/cryptd.c
Add an ERR_CAST() macro 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 Howe
On Wed, 10 Oct 2007, Matthew Wilcox wrote:
> On Wed, Oct 10, 2007 at 08:38:58PM +0200, Sam Ravnborg wrote:
> > parisc arch Makefile needs some love and care...
>
> None of your comments actually address the thing that he was having
> problems with:
>
> ifneq ($(call cc-ifversion, -lt, 0303, "bad")
> On Wed, 10 Oct 2007 09:46:22 EDT, Gustavo Chain said:
>> El Wed, 10 Oct 2007 15:14:06 +0930
>> David Newall <[EMAIL PROTECTED]> escribió:
>> > That was what I thought you had in mind; it protects from some kind
>> > of fork bomb, right? But it doesn't seem useful unless you guarantee
>> > having
Greg KH <[EMAIL PROTECTED]> writes:
> Ah, ok, that makes more sense.
>
> And seems quite difficult to do, good luck with that :)
Thanks. At least now all I have to do is worry about the
details when we get that far instead of selling the big picture...
My gut feel is that sysfs is probably the
On Wed, Oct 10, 2007 at 12:16:30PM -0700, Zachary Amsden wrote:
> On Wed, 2007-10-10 at 15:37 +0800, Fengguang Wu wrote:
> > Hi Zachary,
> >
> > One of my friends' vmware "hangs" on booting Linux 2.6.23, and then get
> > it to work by applying your patch at http://lkml.org/lkml/2007/8/4/72.
> >
>
There will be no change in API. Driver will accept a parameter
"locality" and it will always operate on that locality. By default this
parameter will be 0 which is what current driver assumes.
Who is the maintainer for this driver?
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL
On Tue, 02 Oct 2007 09:51:11 +0530
Balbir Singh <[EMAIL PROTECTED]> wrote:
> I was hopeful of getting the bare minimal infrastructure for memory
> control in mainline, so that review is easy and additional changes
> can be well reviewed as well.
I am not yet convinced that the way the memory cont
1 - 100 of 267 matches
Mail list logo