Thanks, applied.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
On Tue, 2007-03-06 at 08:25 +0100, Ingo Molnar wrote:
> The programming of periodic tick devices needs to be saved/restored
> across suspend/resume - otherwise we might end up with a system coming
> up that relies on getting a PIT (or HPET) interrupt, while those devices
> default to 'no interru
Hi,
What does schedule() function do? I want to make my kthread preemptive.
Thanks
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at htt
> >As for why common abstractions like file are a good thing, think about why
> >having "/dev/null" is cleaner that having a special plug DEVNULL_FD fd
> >value to be plugged everywhere,
>
> This is a stupid comparaison. By your logic we should also have /dev/stdin,
> /dev/stdout and /dev/stderr.
Hi!
> Index: linux-2.6.21-rc2/kernel/power/Kconfig
> ===
> --- linux-2.6.21-rc2.orig/kernel/power/Kconfig2007-02-28
> 23:54:45.0 +0100
> +++ linux-2.6.21-rc2/kernel/power/Kconfig 2007-03-04 11:50:48.0
> +
* Roland McGrath <[EMAIL PROTECTED]> wrote:
> > Jan Beulich just posted a patch to do just this - relocate the
> > vdso's ELF header. If that's all that's really required to keep
> > COMPAT_VDSO viable under PARAVIRT, then it seems like the way to go.
>
> I found
> http://marc.theaimsgroup.c
On Tue, 6 Mar 2007 18:41:08 +1100, Con Kolivas <[EMAIL PROTECTED]> wrote:
> On Tuesday 06 March 2007 18:02, Andrew Morton wrote:
> > On Tue, 6 Mar 2007 17:25:36 +1100 Con Kolivas <[EMAIL PROTECTED]> wrote:
> > > Signed-off-by: Con Kolivas <[EMAIL PROTECTED]>
> > > ---
> > > kernel/sched.c |2
On Tue, 2007-03-06 at 09:10 +1100, Con Kolivas wrote:
> Hah I just wish gears would go away. If I get hardware where it runs at just
> the right speed it looks like it doesn't move at all. On other hardware the
> wheels go backwards and forwards where the screen refresh rate is just
> perfectly
Temporarily at
http://userweb.kernel.org/~akpm/2.6.21-rc2-mm2/
Will appear later at
ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.20-rc2/2.6.20-rc2-mm2/
- git-block.patch is having problems which are getting in the way - it has
been dropped.
- As a consequence all
Hi Greg, Andrew, J.A.,
On Mon, 5 Mar 2007 16:44:44 -0800, Greg KH wrote:
> On Mon, Mar 05, 2007 at 04:33:20PM -0800, Andrew Morton wrote:
> > On Tue, 6 Mar 2007 01:16:21 +0100
> > "J.A. Magall__n" <[EMAIL PROTECTED]> wrote:
> >
> > > On Fri, 2 Mar 2007 03:00:26 -0800, Andrew Morton <[EMAIL PROTEC
* Kok, Auke <[EMAIL PROTECTED]> wrote:
> >>BUG: at drivers/pci/msi.c:611 pci_enable_msi()
> >I would poke Eric Biederman(sp?) about this one. Maybe its even
> >solved by the MSI-enable-related patch he posted in the past 24-48
> >hours.
>
> I tried the 3-patch series "[PATCH 0/3] Basic msi b
On Tue, 6 Mar 2007 00:44:08 -0800, Andrew Morton <[EMAIL PROTECTED]> wrote:
>
> Temporarily at
>
> http://userweb.kernel.org/~akpm/2.6.21-rc2-mm2/
>
Does this include a fix for the NFS problem ?
BTW, I have in my kernel a patch like this below, isn't it needed ?
Original thread:
http://mar
* Ingo Molnar <[EMAIL PROTECTED]> wrote:
> with real resume it takes even longer time - but i dont see where the
> delays come from in that case - i suspect it's SATA.
update: Thomas' PIT/HPET resume-fix patch fixed the delay for me.
Ingo
-
To unsubscribe from this list: send the line
On Tuesday, 6 March 2007 09:32, Pavel Machek wrote:
> Hi!
>
> > Index: linux-2.6.21-rc2/kernel/power/Kconfig
> > ===
> > --- linux-2.6.21-rc2.orig/kernel/power/Kconfig 2007-02-28
> > 23:54:45.0 +0100
> > +++ linux-2.6.21
> -# define VDSO_PRELINK VDSO_HIGH_BASE
> +# ifndef CONFIG_XEN
> +# define VDSO_PRELINK VDSO_HIGH_BASE
> +# else
> +# define VDSO_PRELINK (0UL - FIX_VDSO * PAGE_SIZE)
> +# endif
>
> should be Kconfig driven, not #ifdef driven, due to cleanliness and also
> because lgues
Roland McGrath wrote:
> For everything else to work, it needs to be set by changing __FIXADDR_TOP,
> which seems to be done by calling reserve_top_address early enough.
> It looks like that needs to be properly tied into paravirt_ops somehow.
>
The startup code for whatever hypervisor you're ru
your kthread IS preemptible unless you call preempt_disable or some
locking functions explicitly .
Regards,
albcamus
2007/3/6, Mockern <[EMAIL PROTECTED]>:
Hi,
What does schedule() function do? I want to make my kthread preemptive.
Thanks
-
To unsubscribe from this list: send the line "unsubs
On Tue, 6 Mar 2007 10:06:23 +0100 "J.A. Magallón" <[EMAIL PROTECTED]> wrote:
> On Tue, 6 Mar 2007 00:44:08 -0800, Andrew Morton <[EMAIL PROTECTED]> wrote:
>
> >
> > Temporarily at
> >
> > http://userweb.kernel.org/~akpm/2.6.21-rc2-mm2/
> >
>
> Does this include a fix for the NFS problem ?
Ciao!
Bartlomiej Zolnierkiewicz ha scritto:
> On Friday 02 March 2007, Pavel Machek wrote:
>
>>Hi!
>>
>>
>>>As I reported in bug 8036 in bugzilla.kernel.org,
>>>
>>>Hardware Environment:
>>>
>>> - Use a compact flash SanDisk SDCFB-128 Firmware revision HDX 2.15
>>> (we used other compact flashe
On Tue, 2007-03-06 at 07:27 +, Christoph Hellwig wrote:
> > + struct pt_regs *regs = task_pt_regs(current);
> > + char *filename;
> > + unsigned long result;
> > + int rc;
> > +
> > + filename = getname(compat_ptr(regs->orig_gpr2));
> > + if (IS_ERR(filename)) {
> > + resu
On Mon, Mar 05, 2007 at 03:55:06PM -0800, David Brown wrote:
> I was rtfc'ing the code one day and noticed somethings about the
> PAGE_SIZE define that is kinda inconsistent around its relative
> location to the __KERNEL__ define.
>
> On some architectures the PAGE_SIZE is outside the __KERNEL__ d
Mockern wrote:
Hi,
What does schedule() function do? I want to make my kthread preemptive.
It makes a scheduling decision, i.e. it assigns the CPU time to a
suitable runnable task. If called with the current task's state set to
TASK_(UN)INTERRUPTIBLE, it puts the task to sleep.
Kernel threads
Hi,
I am using kernel-rt on my FC6/x86-64 system,
the CPU is an Athlon64 X2.
It locks up very rarely (I haven't found any sign in the logs for that)
but I always get this on shutdown, I wonder if it might be related
to the lockup:
Mar 5 23:53:52 static-81-17-177-202 kernel: BUG: using
smp_pro
Wu, Bryan <[EMAIL PROTECTED]> wrote:
> When adding utrace support to blackfin architecture, I found a compiling
> error in nommu related utrace stuff. Then this little patch will fix
> this for nommu arch utrace.
You really don't want to do it like this. This prevents ELF shared libraries
from b
On Tue, 6 Mar 2007 01:15:24 -0800, Andrew Morton <[EMAIL PROTECTED]> wrote:
> On Tue, 6 Mar 2007 10:06:23 +0100 "J.A. Magallón" <[EMAIL PROTECTED]> wrote:
>
> > On Tue, 6 Mar 2007 00:44:08 -0800, Andrew Morton <[EMAIL PROTECTED]> wrote:
> >
> > >
> > > Temporarily at
> > >
> > > http://userw
Hi!
> > > Index: linux-2.6.21-rc2/kernel/power/Kconfig
> > > ===
> > > --- linux-2.6.21-rc2.orig/kernel/power/Kconfig2007-02-28
> > > 23:54:45.0 +0100
> > > +++ linux-2.6.21-rc2/kernel/power/Kconfig 2007-03-04 11:50:48.00
On Tue, 6 Mar 2007 10:38:23 +0100 "J.A. Magallón" <[EMAIL PROTECTED]> wrote:
> On Tue, 6 Mar 2007 01:15:24 -0800, Andrew Morton <[EMAIL PROTECTED]> wrote:
>
> > On Tue, 6 Mar 2007 10:06:23 +0100 "J.A. Magallón" <[EMAIL PROTECTED]> wrote:
> >
> > > On Tue, 6 Mar 2007 00:44:08 -0800, Andrew Morton
On Tue, 6 Mar 2007 01:42:40 -0800, Andrew Morton <[EMAIL PROTECTED]> wrote:
> On Tue, 6 Mar 2007 10:38:23 +0100 "J.A. Magallón" <[EMAIL PROTECTED]> wrote:
>
> > On Tue, 6 Mar 2007 01:15:24 -0800, Andrew Morton <[EMAIL PROTECTED]> wrote:
> >
> > > On Tue, 6 Mar 2007 10:06:23 +0100 "J.A. Magallón"
On Tue, 2007-03-06 at 09:37 +, David Howells wrote:
> Wu, Bryan <[EMAIL PROTECTED]> wrote:
>
> > When adding utrace support to blackfin architecture, I found a compiling
> > error in nommu related utrace stuff. Then this little patch will fix
> > this for nommu arch utrace.
>
> You really don
Hi,
Cleanup of pci_find_device to pci_get_device in sound/oss/trident.c
Applies and compiles clean to latest Linus tree. Not tested!
thanks..
Signed-off-by: Surya Prabhakar <[EMAIL PROTECTED]>
---
diff --git a/sound/oss/trident.c b/sound/oss/trident.c
index 72a8a0e..882ab27 100644
--- a/sound
Commit 9ac7849e35f705830f7b016ff272b0ff1f7ff759 adds the devres
structure containing a flexible unsigned long long array, with a
comment about the guaranteed alignment. According to the gcc manual,
flexible arrays are considered incomplete types and it is an error to
ask for their alignment. This p
Vaidyanathan Srinivasan <[EMAIL PROTECTED]> writes
in gmane.linux.kernel,gmane.linux.kernel.mm:
> --- linux-2.6.20.orig/mm/pagecache_acct.c
> +++ linux-2.6.20/mm/pagecache_acct.c
> @@ -29,6 +29,7 @@
> #include
> #include
> #include
> +#include
>
> /*
> * Convert unit from pages to kilob
Hi,
I want to compile a kernel module whose source is organized in a
directory hierarchy. For eg:
driver
|---A
||---1.c
||---2.c
|
|---B
|---3.c
|---4.c
I want to compile a single module (.ko) out of these source files. Can
you please suggest me a Makefile?
Than
Hi,
I see following BUG() on serial console while hibernating on a x86_64
machine. I am using 2.6.21-rc2 kernel.
BUG: at arch/x86_64/kernel/acpi/sleep.c:70 init_low_mapping()
Call Trace:
[] acpi_save_state_mem+0x70/0xd6
[] acpi_pm_enter+0x23/0xc1
[] pm_suspend_disk+0x1ac/0x228
[] enter_stat
> Quoting Linus Torvalds <[EMAIL PROTECTED]>:
>
> Ok, it does indeed solve the problem for me.
Not yet for me unfortunately, although this seems to help.
Is this the patch I should have applied?
http://lkml.org/lkml/2007/3/5/445
With this applied, on resume I get *some* screen output soon after r
On Tue, 2007-03-06 at 14:53 +1300, Paul Collins wrote:
> In case it's of interest, 2.6.20 has been running fine on my
> PowerBook5,4.
How much memory? What if you boot with mem=512M or mem=256M?
It works fine on my PowerBook5,3 unless I do that.
--
dwmw2
-
To unsubscribe from this list: send
> Quoting Linus Torvalds <[EMAIL PROTECTED]>:
>
> Ok, it does indeed solve the problem for me.
Not yet for me unfortunately, although this seems to help.
Is this the patch I should have applied?
http://lkml.org/lkml/2007/3/5/445
With this applied, on resume I get *some* screen output soon after r
* Michael S. Tsirkin <[EMAIL PROTECTED]> wrote:
> > Quoting Linus Torvalds <[EMAIL PROTECTED]>:
> >
> > Ok, it does indeed solve the problem for me.
>
> Not yet for me unfortunately, although this seems to help.
> Is this the patch I should have applied?
> http://lkml.org/lkml/2007/3/5/445
>
>
Am Dienstag, 6. März 2007 05:13 schrieb Eric Buddington:
> reiser4[khubd(163)]: commit_current_atom
> (fs/reiser4/txnmgr.c:1049)[nikita-3176]:
> WARNING: Flushing like mad: 16384
> reiser4[khubd(163)]: commit_current_atom
> (fs/reiser4/txnmgr.c:1049)[nikita-3176]:
> WARNING: Flushing like mad: 32
On Tue, 6 Mar 2007, Li Yu wrote:
> > If we define HID "bus" allowing drivers to bind on VID:PID and provide
> > default library module for parsing HID reports and providing access to
> > HID transports (USB/BT) then writing tiny drivers adjusting just a
> > part of hid_input_event and relying o
> Quoting Ingo Molnar <[EMAIL PROTECTED]>:
> Subject: Re: [5/6] 2.6.21-rc2: known regressions
>
>
> * Michael S. Tsirkin <[EMAIL PROTECTED]> wrote:
>
> > > Quoting Linus Torvalds <[EMAIL PROTECTED]>:
> > >
> > > Ok, it does indeed solve the problem for me.
> >
> > Not yet for me unfortunately,
Hi All,
On Tue, 6 Mar 2007 09:45:43 +0100, Jean Delvare wrote:
> > > I guess we need to wait and see if someone hits the same problems
> > > with an in-kernel driver.
>
> I just did, with i2c-nforce2. The key to trigger it seems to be to load
> an i2c bus driver _after_ loading i2c-isa and a suit
On Tue, 6 Mar 2007 19:27:18 +0900 KAMEZAWA Hiroyuki <[EMAIL PROTECTED]> wrote:
>
> Following panic ouccurred (always) on ia64/NUMA(with empty node.)
>
> Bug in here.
> ==
> void move_native_irq(int irq)
> {
> struct irq_desc *desc = irq_desc + irq;
>
> if (likely(!(desc->status
Greetings,
I noticed the below during boot.
[ 28.772015] drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
[ 35.451802] rtc_cmos: dev (239:0)
[ 35.461708] rtc_cmos 00:03: rtc core: registered rtc_cmos as rtc0
[ 35.474330] rtc0: alarms up to one month
-Mike
-
To unsubscribe
On Tue, Mar 06 2007, J.A. Magallón wrote:
> On Tue, 6 Mar 2007 00:44:08 -0800, Andrew Morton <[EMAIL PROTECTED]> wrote:
>
> >
> > Temporarily at
> >
> > http://userweb.kernel.org/~akpm/2.6.21-rc2-mm2/
> >
>
> Does this include a fix for the NFS problem ?
>
> BTW, I have in my kernel a patch
Hi Antonino :)
* Antonino A. Daplas <[EMAIL PROTECTED]> dixit:
> On Tue, 2007-03-06 at 07:25 +0100, DervishD wrote:
> > * Antonino A. Daplas <[EMAIL PROTECTED]> dixit:
> > > On Thu, 2007-03-01 at 17:01 +0100, DervishD wrote:
> > > > * Antonino A. Daplas <[EMAIL PROTECTED]> dixit:
> > > > >
Kari Hurtta wrote:
> Vaidyanathan Srinivasan <[EMAIL PROTECTED]> writes
> in gmane.linux.kernel,gmane.linux.kernel.mm:
>
>> --- linux-2.6.20.orig/mm/pagecache_acct.c
>> +++ linux-2.6.20/mm/pagecache_acct.c
>> @@ -29,6 +29,7 @@
>> #include
>> #include
>> #include
>> +#include
>>
>> /*
>>
On Tue, 6 Mar 2007 03:09:27 -0800
Andrew Morton <[EMAIL PROTECTED]> wrote:
> > ==
> >
> > Is "mask" always valid pointer ?
>
> I can only find two `struct irq_chip's in arch/ia64 and they both have a
> .mask. And a .unmask. So perhaps that is a misreading of what oopsed.
>
> There are no cha
On Tue, 2007-03-06 at 12:46 +0200, Michael S. Tsirkin wrote:
> > Quoting Ingo Molnar <[EMAIL PROTECTED]>:
> > Subject: Re: [5/6] 2.6.21-rc2: known regressions
> >
> >
> > * Michael S. Tsirkin <[EMAIL PROTECTED]> wrote:
> >
> > > > Quoting Linus Torvalds <[EMAIL PROTECTED]>:
> > > >
> > > > Ok, i
(tglx cc'ed as he may know something about this - sorry if it's inappropriate)
On Tuesday 06 March 2007 19:44, Andrew Morton wrote:
> Temporarily at
>
> http://userweb.kernel.org/~akpm/2.6.21-rc2-mm2/
>
> Will appear later at
>
>
> ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/
On Mon, Mar 05, 2007 at 02:56:29PM -0800, David Miller wrote:
> From: Martin Schwidefsky <[EMAIL PROTECTED]>
> Date: Mon, 5 Mar 2007 23:43:54 +0100
>
> > + if (__builtin_constant_p(__ret_warn_on)) { \
> > + if (__ret_warn_on) \
> > + __EMIT_B
Hi Folks,
I need to encrypt a jffs2/mtd formatted flash filesystem for an
embedded device, Normally using a loopback interface (cryptoloop,
DM-crypt or loop-aes) solves this problem but they are not well known
on journalling file systems (like jffs2) because of cached write etc..
Also I could'nt f
* Soeren Sonnenburg <[EMAIL PROTECTED]> wrote:
> > BTW, Ingo, can you suspend/resume any number of times with this
> > patch?
>
> well I could at least two times in a row in my minimalistic setup
> (config attached) however using the full kernel config it still hangs
> ... (config also attach
On 3/6/07, Soeren Sonnenburg <[EMAIL PROTECTED]> wrote:
> > > Not yet for me unfortunately, although this seems to help.
> > > Is this the patch I should have applied?
> > > http://lkml.org/lkml/2007/3/5/445
Same problem for me on 2.6.21-rc2/rc1 on IBM X60s. I've applied this
patch and Ingo Mo
On (05/03/07 16:25), Greg KH didst pronounce:
> On Fri, Mar 02, 2007 at 12:58:33AM -0800, Andrew Morton wrote:
> >
> > -mm has a debugging patch which warns when atomic_dec_and_test() takes an
> > atomic_t negative
> > (ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.20/2.6.20-mm
Andrew Morton wrote:
> Yes. Let's flesh it out the backup program policy some more:
>
> - Unconditionally invalidate output files
>
> - on entry to read(), probe pagecache, record which pages in the range are
> present
>
> - on entry to next read(), shoot down those pages from the previous rea
> Quoting Ingo Molnar <[EMAIL PROTECTED]>:
> Subject: Re: [5/6] 2.6.21-rc2: known regressions
>
>
> * Soeren Sonnenburg <[EMAIL PROTECTED]> wrote:
>
> > > BTW, Ingo, can you suspend/resume any number of times with this
> > > patch?
> >
> > well I could at least two times in a row in my minimal
On Saturday 03 March 2007, Nish Aravamudan wrote:
> On 3/2/07, Alexander Y. Fomichev <[EMAIL PROTECTED]> wrote:
> > G'day
> >
> > I'm hit a bug on 2.6.21-rc1 at startup of mysql with 'large-pages' flag
> > set. (at this point mysql trying to allocate pages from hugetlb pool by
> > sysv shm syscalls
> Quoting Ingo Molnar <[EMAIL PROTECTED]>:
> Subject: Re: [5/6] 2.6.21-rc2: known regressions
>
>
> * Michael S. Tsirkin <[EMAIL PROTECTED]> wrote:
>
> > > > Not yet for me unfortunately, although this seems to help.
> > > > Is this the patch I should have applied?
> > > > http://lkml.org/lkml/2
Linus, please pull from
git://git.kernel.org/pub/scm/linux/kernel/git/drzeus/mmc.git for-linus
to receive the following updates:
drivers/mmc/mmc.c | 83 ++--
drivers/mmc/sdhci.c | 39 +++-
fs/ncpfs/inode.c | 16 -
fs/ncpfs/soc
Hi all,
The GDT stuff on x86 is a little more complex than it need be, but
playing with boot code is always dangerous. These compile and boot on
UP and SMP for me, but Andrew should let the cook in -mm for a while.
Thanks!
Rusty.
-
To unsubscribe from this list: send the line "unsubscri
strlcpy already accounts for the trailing zero in its length
computation, so there is no need to substract one to the buffer size.
Untested, as I do not have the hardware.
Signed-off-by: Jean Delvare <[EMAIL PROTECTED]>
---
arch/s390/kernel/debug.c |2 +-
arch/xtensa/platform-is
Hello, Catalin.
Catalin Marinas wrote:
> Commit 9ac7849e35f705830f7b016ff272b0ff1f7ff759 adds the devres
> structure containing a flexible unsigned long long array, with a
> comment about the guaranteed alignment. According to the gcc manual,
> flexible arrays are considered incomplete types and i
On Saturday 03 March 2007, Bill Irwin wrote:
> On Fri, Mar 02, 2007 at 04:51:15PM +0300, Alexander Y. Fomichev wrote:
> > I'm hit a bug on 2.6.21-rc1 at startup of mysql with 'large-pages' flag
> > set. (at this point mysql trying to allocate pages from hugetlb pool by
> > sysv shm syscalls). Seems
On Tue, 2007-03-06 at 22:58 +1100, Con Kolivas wrote:
> (tglx cc'ed as he may know something about this - sorry if it's inappropriate)
John cc'ed as well :)
> > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.20-rc2/2.
> >6.20-rc2-mm2/
>
> qemu doesn't like it with the config f
On Mon, Mar 05, 2007 at 04:25:31PM +0100, Andi Kleen wrote:
> On Monday 05 March 2007 15:39, Joerg Roedel wrote:
> > From: Joerg Roedel <[EMAIL PROTECTED]>
> >
> > This patch adds the advanced SVM reporting to /proc/cpuinfo on the x86_64
> > architecture.
>
> Adding more fields to /proc/cpuinfo i
* Ingo Molnar <[EMAIL PROTECTED]> wrote:
> > > BTW, Ingo, can you suspend/resume any number of times with this
> > > patch?
> >
> > well I could at least two times in a row in my minimalistic setup
> > (config attached) however using the full kernel config it still
> > hangs ... (config also a
On Mon, 5 Feb 2007, Justin Piszcz wrote:
On Mon, 5 Feb 2007, Arjan van de Ven wrote:
On Sun, 2007-02-04 at 10:57 -0500, Justin Piszcz wrote:
Hi,
Anyone from Intel that reads LKML, could you provide an update as to what
is happening with support for your HECI Controller/QPS chip, which is
Linux uses three GDTs to boot: the boot_gdt_table, which contains only
the __BOOT_CS and __BOOT_DS entries is used first up, before kernel is
mapped at PAGE_OFFSET. Then we transition to cpu_gdt_table during
boot, and finally we allocate a per-cpu GDT and switch to that.
We can simplify this by u
I managed to get an error about NR_CPUS undefined after a make
allyesconfig. Admittedly this was a patched kernel, but it's easy to
remove it and avoid the error in future even if it's OK at the moment.
Signed-off-by: Rusty Russell <[EMAIL PROTECTED]>
diff -r 4519e3475c4f include/asm-generic/per
Allocating PDA and GDT at boot is a pain. Using simple per-cpu
variables adds happiness (although we need the GDT page-aligned for
Xen, see later).
Finally, we can simply call it "cpu_gdt" rather than enduring the
superfluous and unnecessarily redundant tautology of "cpu_gdt_table".
Signed-off-b
The comment above this function has never been true in mainline:
talking to Jeremy it's from previous patch churn. What setup_pda
actually does is to write the segment entry for boot_pda into the
boot_gdt_table. Ideally, this would be a static initialization, but
because the addresses are split o
> Quoting Ingo Molnar <[EMAIL PROTECTED]>:
> Subject: Re: [5/6] 2.6.21-rc2: known regressions
>
> * Ingo Molnar <[EMAIL PROTECTED]> wrote:
>
> > > > BTW, Ingo, can you suspend/resume any number of times with this
> > > > patch?
> > >
> > > well I could at least two times in a row in my minimali
Now we have an explicit per-cpu GDT variable, we don't need to keep
the descriptors around to use them to find the GDT. Also remove the
cpu_pda() accessor: it's just a per-cpu variable.
Signed-off-by: Rusty Russell <[EMAIL PROTECTED]>
diff -r e9d5b8e6f5ee arch/i386/kernel/cpu/common.c
--- a/arch
Xen wants page-aligned GDT (and PDA must not cross a page-boundary,
but that doesn't happen at the moment since it's so close to start of
page). Let's allow page-alignment in general for per-cpu data.
Because larger alignments can use more room, we increase the max
per-cpu memory to 64k rather th
Xen wants a dedicated page for the GDT. I believe VMI likes it too.
lguest, KVM and native don't care.
Simple transformation to page-aligned "struct gdt_page".
Signed-off-by: Rusty Russell <[EMAIL PROTECTED]>
diff -r 576929b5b43f arch/i386/kernel/cpu/common.c
--- a/arch/i386/kernel/cpu/common.c
On Tue, 2007-03-06 at 13:51 +0100, Ingo Molnar wrote:
> * Ingo Molnar <[EMAIL PROTECTED]> wrote:
>
> > > > BTW, Ingo, can you suspend/resume any number of times with this
> > > > patch?
> > >
> > > well I could at least two times in a row in my minimalistic setup
> > > (config attached) however
* Michael S. Tsirkin <[EMAIL PROTECTED]> wrote:
> > update: this only happens with simulation, and even then it's not a
> > full hang but 'hangs until i hit a key'. With real resume i'm
> > hitting a real key anyway so it doesnt hang.
>
> How 'bout my .config?
your config works fine here too
Currently x86 (similar to x84-64) has a special per-cpu structure
called "i386_pda" which can be easily and efficiently referenced via
the %fs register. An ELF section is more flexible than a structure,
allowing any piece of code to use this area. Indeed, such a section
already exists: the per-cp
On Tue, 2007-02-27 at 22:51 +0100, Rafael J. Wysocki wrote:
> For 2.6.21-rc1 I've invented the appended workaround (works for me, waiting
> for
> Johannes to confirm it works for him too), but I think we need something
> better
> for -mm and future kernels.
Finally I could get back to this but
* Rusty Russell <[EMAIL PROTECTED]> wrote:
> Currently x86 (similar to x84-64) has a special per-cpu structure
> called "i386_pda" which can be easily and efficiently referenced via
> the %fs register. An ELF section is more flexible than a structure,
> allowing any piece of code to use this
* Rusty Russell <[EMAIL PROTECTED]> wrote:
> Xen wants page-aligned GDT (and PDA must not cross a page-boundary,
> but that doesn't happen at the moment since it's so close to start of
> page). Let's allow page-alignment in general for per-cpu data.
>
> Because larger alignments can use more
* Rusty Russell <[EMAIL PROTECTED]> wrote:
> +/* The boot Global Descriptor Table: after boot we allocate a per-cpu copy */
> .align L1_CACHE_BYTES
> ENTRY(boot_gdt_table)
> - .fill GDT_ENTRY_BOOT_CS,8,0
> - .quad 0x00cf9a00/* kernel 4GB code at 0x */
> -
* Rusty Russell <[EMAIL PROTECTED]> wrote:
> I managed to get an error about NR_CPUS undefined after a make
> allyesconfig. Admittedly this was a patched kernel, but it's easy to
> remove it and avoid the error in future even if it's OK at the moment.
> -extern unsigned long __per_cpu_offset[
On Tuesday 06 March 2007 23:52, Thomas Gleixner wrote:
> On Tue, 2007-03-06 at 22:58 +1100, Con Kolivas wrote:
> > (tglx cc'ed as he may know something about this - sorry if it's
> > inappropriate)
>
> John cc'ed as well :)
Thanks.
> > [] do_timer+0x301/0x419
> > ---
> >
> > list *do_timer+0x30
* Ingo Molnar <[EMAIL PROTECTED]> wrote:
> > + .quad 0x00cf9a00/* boot: 4GB code at 0x */
> > + .quad 0x00cf9200/* boot: 4GB data at 0x */
> > .quad 0x/* 0x20 unused */
> > .quad 0x/* 0x28
Hi Eric,
On 3/5/07, Eric Piel <[EMAIL PROTECTED]> wrote:
Hello,
Here is a patch adding support to wistron button for Acer TravelMate
610. This is tested and works fine with the exception of the leds which
cannot be controlled (yet, that would require writing a led interface
for them when I've g
On Tue, 6 Mar 2007, Mockern wrote:
> I need to shutdown Linux from user level application. Which is the best
> way to do it? (I need it for embedded system)
Use sys_reboot() syscall with either LINUX_REBOOT_CMD_HALT or
LINUX_REBOOT_CMD_POWER_OFF.
Also this is probably offtopic here, please use
* emin ak <[EMAIL PROTECTED]> wrote:
> I need to encrypt a jffs2/mtd formatted flash filesystem for an
> embedded device, Normally using a loopback interface (cryptoloop,
> DM-crypt or loop-aes) solves this problem but they are not well
> known on journalling file systems (like jffs2) because of c
Linus, please pull from [the linus branch at]:
master.kernel.org:/pub/scm/linux/kernel/git/perex/alsa.git linus
gitweb interface:
http://www.kernel.org/git/?p=linux/kernel/git/perex/alsa.git
The GNU patch is available at:
ftp://ftp.alsa-project.org/pub/kernel-patches/alsa-git-2007-03-06.p
Tejun,
Tejun Heo <[EMAIL PROTECTED]> wrote:
> Catalin Marinas wrote:
>> Commit 9ac7849e35f705830f7b016ff272b0ff1f7ff759 adds the devres
>> structure containing a flexible unsigned long long array, with a
>> comment about the guaranteed alignment. According to the gcc manual,
>> flexible arrays are
The airo driver tries to avoid excessive latencies when issuing commands
to the card by calling schedule() after several retries. But
issuecommand() can be run from an interrupt handler. The function is
careful enough to check with in_atomic() if it is safe to call schedule().
This check breaks whe
On Wed, 2007-03-07 at 00:24 +1100, Con Kolivas wrote:
> > printk(KERN_INFO "Time: %s clocksource has been installed.\n",
> >clock->name);
> > }
> >
> > So clock seems to be NULL, but was accessed before
> > clocksource_calculate_interval() as well.
>
> It seems to be specif
On Tue, 6 Mar 2007, Amedee Van Gasse wrote:
> > This would be in fact very interesting to know. 1) does the BUG trigger
> > only with newer versions of bluez-utils? 2) If so, does everything work
> > with these older versions, or do the things fail in a same way, but
> > silently?
> I could ins
Catalin Marinas wrote:
> Chapter 5.31 (http://gcc.gnu.org/onlinedocs/gcc/Alignment.html) states
> that "it is an error to ask for the alignment of an incomplete type"
> and flexible array members have incomplete type (according to ISO C99
> as described in http://gcc.gnu.org/onlinedocs/gcc/Zero-Len
Hi,
i'm happy to report that i've been able to boot my ibook without any error,
using Ken Moffat's .config (thanks again Ken!) as a base.
I'm putting the prominent part here for completeness.
I still have no idea what caused these errors, but at least i'll try to find
what was compiled with the f
Xavier Bestel wrote:
> On Tue, 2007-03-06 at 09:10 +1100, Con Kolivas wrote:
> > Hah I just wish gears would go away. If I get hardware where it runs at
> > just the right speed it looks like it doesn't move at all. On other
> > hardware the wheels go backwards and forwards where the screen refresh
Tejun Heo <[EMAIL PROTECTED]> wrote:
> Catalin Marinas wrote:
>> It sounds to me like the alignment of an incomplete type is not
>> guaranteed (as you can't even enquire about it, though I might be
>> wrong). This is probably dependent on the compiler as well - with
>> gcc-3.3 on x86, __alignof__(u
On Mon, 5 Mar 2007, Roland McGrath wrote:
> > The actual guarantee I need is that nobody will switch_to() the task while
> > my routines are running.
>
> You can't get that. It can always be woken for SIGKILL (which is a good
> thing). What you are guaranteed is that if it does, it will never r
03/06/2007 02:36 PM, Dmitry Torokhov wrote/a écrit:
Hi Eric,
I believe we have KEY_WLAN for Wifi, not KEY_XFER. I will fix that up.
Oh! Yes, this sounds better, I used KEY_XFER just for historical reasons
;-) Thanks
I'm sending just this one for now (as I can test it) but if you like it,
1 - 100 of 597 matches
Mail list logo