Re: [RFC][PATCH] mm: fix page_mkclean() vs non-linear vmas

2007-03-08 Thread Miklos Szeredi
> > - it's a maintenance burden: I'll have to layer the m/ctime update > > patch on top of this > > But you have to update m/ctime for BDI_CAP_NO_WRITEBACK mappings anyway > don't you? Yes, but that's a different aspect of msync(), not about the data writeback issues that nonlinear mappings

Re: [RFC][PATCH] mm: fix page_mkclean() vs non-linear vmas

2007-03-08 Thread Peter Zijlstra
On Thu, 2007-03-08 at 12:48 +0100, Miklos Szeredi wrote: > > However this still leaves the non-linear reclaim (Nick pointed it out as > > a potential DoS and other people have corroborated this). I have no idea > > on that to do about that. > > OK, but that is a completely different problem, not a

Re: [patch 027/101] Kconfig: FAULT_INJECTION can be selected only if LOCKDEP is enabled.

2007-03-08 Thread Blaisorblade
On Wednesday 07 March 2007 18:11, Greg KH wrote: > From: "Paolo 'Blaisorblade' Giarrusso" <[EMAIL PROTECTED]> > > There is no prompt for STACKTRACE, so it is enabled only when 'select'ed. > FAULT_INJECTION depends on it, while LOCKDEP selects it. So FAULT_INJECTION > becomes visible in Kconfig only

Re: [RFC][PATCH] mm: fix page_mkclean() vs non-linear vmas

2007-03-08 Thread Nick Piggin
On Thu, Mar 08, 2007 at 01:11:43PM +0100, Peter Zijlstra wrote: > On Thu, 2007-03-08 at 12:48 +0100, Miklos Szeredi wrote: > > > However this still leaves the non-linear reclaim (Nick pointed it out as > > > a potential DoS and other people have corroborated this). I have no idea > > > on that to d

Re: [RFC][PATCH] mm: fix page_mkclean() vs non-linear vmas

2007-03-08 Thread Miklos Szeredi
> > > And it doesn't sound too hard to solve: when current algorithm doesn't > > > seem to be making progress, then it will have to be done the hard way, > > > searching for for all nonlinear ptes of a page to unmap. > > > > Ah, you see, but that is when you've already lost. > > > > The DoS is ab

Re: [patch 4/6] mm: merge populate and nopage into fault (fixes nonlinear)

2007-03-08 Thread Blaisorblade
On Wednesday 07 March 2007 10:44, Bill Irwin wrote: > On Wed, Mar 07, 2007 at 10:28:21AM +0100, Nick Piggin wrote: > > Depending on whether anyone wants it, and what features they want, we > > could emulate the old syscall, and make a new restricted one which is > > much less intrusive. > > For exa

Re: [PATCH] chaostables

2007-03-08 Thread Patrick McHardy
Jan Engelhardt wrote: > Index: linux-2.6.21-rc3/net/netfilter/xt_CHAOS.c > === > --- /dev/null > +++ linux-2.6.21-rc3/net/netfilter/xt_CHAOS.c > @@ -0,0 +1,184 @@ > + > +static unsigned int xt_chaos_target(struct sk_buff **pskb, > +

Re: Sleeping thread not receive signal until it wakes up

2007-03-08 Thread linux-os \(Dick Johnson\)
On Wed, 7 Mar 2007, Luong Ngo wrote: > On 3/7/07, linux-os (Dick Johnson) <[EMAIL PROTECTED]> wrote: >> >>> >>> On 3/7/07, linux-os (Dick Johnson) <[EMAIL PROTECTED]> wrote: On Wed, 7 Mar 2007, Luong Ngo wrote: > Hi all, > > I am having this problem. I have a process wi

refcounting drivers' data structures used in sysfs buffers

2007-03-08 Thread Oliver Neukum
Hi, after a lightning bolt from high above I've been looking into refcounting the data structures drivers use to provide the data used to refill sysfs buffers. I've come to the following conclusion. 1. struct sysfs_buffer must have a struct kref * and probably a destructor pointer 2. drivers must

[PATCH] make elv_register() output atomic

2007-03-08 Thread Thibaut VARENE
Hi, Booting 2.6.21-rc3-g45592145 I noticed the following on one of my machines in the bootlog: io scheduler noop registered<6>Time: jiffies clocksource has been installed. io scheduler deadline registered (default) Looking at block/elevator.c, it appears that elv_register() uses two consecutiv

Question about memory mapping mechanism

2007-03-08 Thread Martin Drab
Hi, I'm writing a driver for a sampling device that is constantly delivering a relatively high amount of data (about 16 MB/s) and I need to deliver the data to the user-space ASAP. To prevent data loss I create a queue of buffers (consisting of few pages each) which are more or less directly f

Re: Problem with libata-pata, ATAPI DVD reader and a "copy-protected" audio cd

2007-03-08 Thread GhePeU
Il giorno sab, 03/03/2007 alle 12.00 +0100, GhePeU ha scritto: > Hello, > > when kernel 2.6.20 was released I switched to the new libata-pata > infrastructure for my EIDE hard disk and ATAPI dvd-reader. > > Until yesterday I didn't have any problem, then I tried to play an audio > CD and my medi

Re: [PATCH] make elv_register() output atomic

2007-03-08 Thread Jens Axboe
On Thu, Mar 08 2007, Thibaut VARENE wrote: > Hi, > > Booting 2.6.21-rc3-g45592145 I noticed the following on one of my > machines in the bootlog: > > io scheduler noop registered<6>Time: jiffies clocksource has been installed. > > io scheduler deadline registered (default) > > > Looking at blo

Re: Sleeping thread not receive signal until it wakes up

2007-03-08 Thread Thomas Gleixner
On Thu, 2007-03-08 at 08:01 -0500, linux-os (Dick Johnson) wrote: > > Anything kernel configuration I need to be aware of to enable > > preemption in kernel? > > > > > > Thank you, > > LNgo > > > > First, in the ioctl, if you need spin-locks, you need to use > spin_lock_irqsave/spin_unlock/irqrest

RSDL test

2007-03-08 Thread Jens Axboe
Hi Con, One thing that has annoyed me greatly lately, is that scrolling in firefox very quickly becomes a huge pain if you have any load on your box. I typically do make -j4 kernel builds on my laptop (core duo), and try to stay out of firefox for that period simply because it's not very responsiv

Re: Problem with SCSI communication between Adaptec and Ecrix VXA1

2007-03-08 Thread Martin K. Petersen
> "Jan" == Jan Marek <[EMAIL PROTECTED]> writes: Jan> Mar 7 07:47:53 rek kernel: st0: Error with sense data: <6>st0: Current: sense key=0x4 Jan> Mar 7 07:47:53 rek kernel: ASC=0x44 ASCQ=0x0 Jan> Mar 7 07:47:53 rek kernel: Info fld=0x0 Jan> Mar 7 07:47:59 rek kernel: st0: Error with se

libata: Fix host->simplex_claimed != ap typo

2007-03-08 Thread OGAWA Hirofumi
Hi, the following patch is needed to boot my laptop using pata_ali.ko, at least. Please apply. -- OGAWA Hirofumi <[EMAIL PROTECTED]> Fix typo. "host->simplex_claimed != ap" should be "==", not "!=". Signed-off-by: OGAWA Hirofumi <[EMAIL PROTECTED]> --- drivers/ata/libata-core.c |2 +-

Re: Question about memory mapping mechanism

2007-03-08 Thread Carsten Otte
On 3/8/07, Martin Drab <[EMAIL PROTECTED]> wrote: The thing is that I'd like to prevent kernel to swap these pages out, because then I may loose some data when they are not available in time for the next round. One think you could do is grab a reference to the pages upfront. When you stop pushi

Re: libata: Fix host->simplex_claimed != ap typo

2007-03-08 Thread Jeff Garzik
OGAWA Hirofumi wrote: Hi, the following patch is needed to boot my laptop using pata_ali.ko, at least. Please apply. Someone else caught this as well. This will go upstream today. Jeff - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a messag

Re: [patch 2/5] signalfd v2 - signalfd core ...

2007-03-08 Thread David M. Lloyd
On Wed, 2007-03-07 at 17:21 -0800, Davide Libenzi wrote: > int signalfd_dequeue(int fd, siginfo_t *info, long timeo); > > The "fd" parameter must ba a signalfd file descriptor. The "info" parameter > is a pointer to the siginfo that will receive the dequeued signal, and > "timeo" is a timeout in m

Re: 2.6.21-rc3-mm2

2007-03-08 Thread Con Kolivas
On Thursday 08 March 2007 15:19, Andrew Morton wrote: > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.21-rc3/2. >6.21-rc3-mm2/ > > - This is the same as 2.6.21-rc3-mm1, except Con's CPU scheduler changes > were dropped. As for benchmarking between them I haven't seen anyone p

Re: [PATCH] chaostables

2007-03-08 Thread James Morris
On Thu, 8 Mar 2007, Alan Cox wrote: > Any chance of tweaking the name - it's just there is/was a chaosnet > protocol/network system and you don't want people to assume that since > its a chaosfilter its for chaosnet ? That's exactly what I thought it was from the subject line. - James -- Jame

Re: libata: Fix host->simplex_claimed != ap typo

2007-03-08 Thread Alan Cox
On Thu, 08 Mar 2007 23:17:00 +0900 OGAWA Hirofumi <[EMAIL PROTECTED]> wrote: > Hi, > > the following patch is needed to boot my laptop using pata_ali.ko, at least. > Please apply. NAK - correct fix is to check != && != NULL. The correct fix was posted to the list earlier by Vojtech. Alan - To u

Re: 2.6.21-rc2-mm2 hang

2007-03-08 Thread Michal Piotrowski
Andrew Morton napisał(a): > On Wed, 07 Mar 2007 15:07:21 -0800 > Dave Hansen <[EMAIL PROTECTED]> wrote: > >> On Wed, 2007-03-07 at 14:16 -0800, Siddha, Suresh B wrote: >>> On Wed, Mar 07, 2007 at 02:12:16PM -0800, Dave Hansen wrote: I'm seeing weird hangs running ltp on 2.6.21-rc2-mm2. It ma

Re: questions about 8250 uart support for adhoc boards

2007-03-08 Thread Russell King
On Tue, Feb 27, 2007 at 03:40:57PM -0500, Rob Prowel wrote: > Stuart MacDonald wrote: > >Would it be more intuitive to give ports the default uartclk of > >1843200 at init time? That would avoid this issue, but would make the > >baud rates come out wrong on hardware with a non-standard clock, if a

Re: libata: Fix host->simplex_claimed != ap typo

2007-03-08 Thread Jeff Garzik
Alan Cox wrote: On Thu, 08 Mar 2007 23:17:00 +0900 OGAWA Hirofumi <[EMAIL PROTECTED]> wrote: Hi, the following patch is needed to boot my laptop using pata_ali.ko, at least. Please apply. NAK - correct fix is to check != && != NULL. The correct fix was posted to the list earlier by Vojtech.

Re: Linux v2.6.20-rc5

2007-03-08 Thread Jeff Chua
On 3/8/07, albcamus <[EMAIL PROTECTED]> wrote: I guess that it is because 'paravirt_ops' was exported as GPL symbol, whereas the vmware module doen't declare any license. I tried to add the following line: MODULE_LICENSE("GPL"); into vmmon.tar and vmnet.tar under /usr/lib/vmare/modules/source/

Re: libata: Fix host->simplex_claimed != ap typo

2007-03-08 Thread Alan Cox
On Thu, 08 Mar 2007 10:18:24 -0500 Jeff Garzik <[EMAIL PROTECTED]> wrote: > Alan Cox wrote: > > On Thu, 08 Mar 2007 23:17:00 +0900 > > OGAWA Hirofumi <[EMAIL PROTECTED]> wrote: > > > >> Hi, > >> > >> the following patch is needed to boot my laptop using pata_ali.ko, at > >> least. > >> Please ap

Re: 2.6.21-rc3-mm1

2007-03-08 Thread John W. Linville
On Wed, Mar 07, 2007 at 08:18:39PM -0800, Andrew Morton wrote: > - The wireless changes in here need a lot of testers, please. It is major > rework. > > Of course the config files got all changed around so `make oldconfig' > breaks everything. I was able to get ipw2200 working after some

Re: Problem with freezable workqueues

2007-03-08 Thread Johannes Berg
On Tue, 2007-03-06 at 21:31 +0100, Rafael J. Wysocki wrote: > For now, we have decided to make the workqueues nonfreezable (the patch for > that has already been merged, AFAICT). It isn't in 2.6.21-rc3. > > I wanted to adapt the BUG_ON(block IO not from suspend code) > > patch from suspend2 but

Re: [ANNOUNCE] RSDL completely fair starvation free interactive cpu scheduler

2007-03-08 Thread Tim Tassonis
Hi Con Just also wanted to throw in my less than two cents: I applied the patch and also have the very strong subjective impression that my system "feels" much more responsive than with stock 2.6.20. Thanks for the great work. Bye Tim - To unsubscribe from this list: send the line "unsubscri

Re: mm snapshot broken-out-2007-03-05-02-22.tar.gz uploaded

2007-03-08 Thread Michal Piotrowski
Takashi Iwai napisał(a): > At Wed, 07 Mar 2007 23:22:36 +0100, > Michal Piotrowski wrote: >> Hi Takashi, >> >> Takashi Iwai napisał(a): >>> At Wed, 7 Mar 2007 11:50:24 -0800, >>> Andrew Morton wrote: On Wed, 7 Mar 2007 20:41:30 +0100 "Michal Piotrowski" <[EMAIL PROTECTED]> wrote: >>

Re: [patch 2/5] signalfd v2 - signalfd core ...

2007-03-08 Thread Davide Libenzi
On Thu, 8 Mar 2007, David M. Lloyd wrote: > On Wed, 2007-03-07 at 17:21 -0800, Davide Libenzi wrote: > > int signalfd_dequeue(int fd, siginfo_t *info, long timeo); > > > > The "fd" parameter must ba a signalfd file descriptor. The "info" parameter > > is a pointer to the siginfo that will receive

[PATCH] tty: Revised diff for the i386/x86_64 arbitary speed support

2007-03-08 Thread Alan Cox
Adding some more test cases found a bug in the definition of IBSHIFT. At the moment we have no hardware support for split baud rates but this showed up once I did testing of that... Replaces the previous diff. Signed-off-by: Alan Cox <[EMAIL PROTECTED]> diff -u --new-file --recursive --exclude-f

Re: Problem with libata-pata, ATAPI DVD reader and a "copy-protected" audio cd

2007-03-08 Thread GhePeU
Il giorno gio, 08/03/2007 alle 14.35 +0100, GhePeU ha scritto: > > > > Well, it happened again, with a different cd, and this time I never > started the player: hal/g-v-m tried to access the CD and now my driver > is in PIO2 mode and pretty much unusable. Is there a way to fix this > without rebo

[RFC][Patch 0/6] integrity service framework and provider

2007-03-08 Thread Mimi Zohar
This is a request for comments for updates to the integrity service framework, previously accepted into -mm, and EVM a new integrity service provider. A new LSM module called Integrity Based Access Control(IBAC), a consumer of the integrity framework API, will be posted separately to the LSM mail

[RFC][Patch 1/6] integrity: new hooks

2007-03-08 Thread Mimi Zohar
This patch adds integrity hooks used to implement an integrity service provider and updates the previously submitted dummy provider to support these new hooks. Index: linux-2.6.21-rc3-mm2/security/integrity_dummy.c === --- linux-2.6.2

[RFC][Patch 2/6] integrity: fs hook placement

2007-03-08 Thread Mimi Zohar
This patch places calls to the new integrity hooks in the appropriate places in the fs directory. It is not meant in any way to be viewed as a complete set, but used as a basis for an initial discussion. Index: linux-2.6.21-rc3-mm2/fs/ext3/xattr_security.c =

[RFC][Patch 3/6] integrity: EVM as an integrity service provider

2007-03-08 Thread Mimi Zohar
This is a re-release of EVM as an integrity service provider. The initial EVM release was as an LSM module. It has been substantially rewritten to provide support for the new integrity service framework API, which permits applications, such as LSM modules, to verify the integrity of the metadata a

<    1   2   3   4   5   6