login
Header Space

 
 

Re: 2.6.24-git: kmap_atomic() WARN_ON()

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Jeff Garzik <jgarzik@...>
Cc: Ingo Molnar <mingo@...>, Thomas Gleixner <tglx@...>, Björn <B.Steinbrink@...>, LKML <linux-kernel@...>
Date: Tuesday, February 26, 2008 - 2:19 pm

On Tue, 26 Feb 2008 11:32:24 -0500 Jeff Garzik <jgarzik@pobox.com> wrote:


It's a bit sad to disable interupts across a memset (how big is it?) just
for the small proportion of cases which are accessing a highmem page.

What you could do is to add an `unsigned long *flags' arg to
ata_scsi_rbuf_get() and ata_scsi_rbuf_put(), and then, in
ata_scsi_rbuf_get() do

	if (PageHighmem(page))
		local_irq_disable(*flags);


--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
2.6.24-git: kmap_atomic() WARN_ON(), Thomas Gleixner, (Wed Feb 6, 7:58 pm)
Re: 2.6.24-git: kmap_atomic() WARN_ON(), Björn, (Mon Feb 25, 3:59 pm)
Re: 2.6.24-git: kmap_atomic() WARN_ON(), Jeff Garzik, (Mon Feb 25, 4:08 pm)
Re: 2.6.24-git: kmap_atomic() WARN_ON(), Andrew Morton, (Mon Feb 25, 4:40 pm)
Re: 2.6.24-git: kmap_atomic() WARN_ON(), Thomas Gleixner, (Mon Feb 25, 6:01 pm)
Re: 2.6.24-git: kmap_atomic() WARN_ON(), Jeff Garzik, (Mon Feb 25, 7:19 pm)
Re: 2.6.24-git: kmap_atomic() WARN_ON(), Thomas Gleixner, (Tue Feb 26, 4:50 am)
Re: 2.6.24-git: kmap_atomic() WARN_ON(), Ingo Molnar, (Tue Feb 26, 4:39 am)
Re: 2.6.24-git: kmap_atomic() WARN_ON(), Jeff Garzik, (Tue Feb 26, 12:32 pm)
Re: 2.6.24-git: kmap_atomic() WARN_ON(), Andrew Morton, (Tue Feb 26, 2:19 pm)
Re: 2.6.24-git: kmap_atomic() WARN_ON(), Ingo Molnar, (Tue Feb 26, 4:49 pm)
Re: 2.6.24-git: kmap_atomic() WARN_ON(), Nick Piggin, (Tue Feb 26, 7:49 pm)
Re: 2.6.24-git: kmap_atomic() WARN_ON(), Andrew Morton, (Tue Feb 26, 5:37 pm)
Re: 2.6.24-git: kmap_atomic() WARN_ON(), Jeff Garzik, (Tue Feb 26, 6:59 pm)
Re: 2.6.24-git: kmap_atomic() WARN_ON(), Alan Cox, (Tue Feb 26, 8:02 pm)
Re: 2.6.24-git: kmap_atomic() WARN_ON(), Andrew Morton, (Mon Feb 25, 6:17 pm)
Re: 2.6.24-git: kmap_atomic() WARN_ON(), Björn, (Mon Feb 25, 4:35 pm)
Re: 2.6.24-git: kmap_atomic() WARN_ON(), Rafael J. Wysocki, (Wed Feb 13, 6:39 pm)
Re: 2.6.24-git: kmap_atomic() WARN_ON(), Thomas Gleixner, (Wed Feb 13, 9:13 pm)
speck-geostationary