linux-kernel mailing list

FromSubjectsort iconDate
Dong_Wei
dynamically use the irqbalance
Hi, all. I want to dynamically use irqbalance on X86 processor. My design is like the following: 1) if we boot kernel with "noirqbalance", then irqbalance is always disabled. 2) if we boot kernel without "noirqbalance", we can enable/disable irqbalance in runtime. I create a proc_fs entry /proc/sys/kernel/irqbalance This symbol I adding is in file arch/i386/kernel/io_apic.c /proc/sys/kernel/irqbalance = 0 /* disable irqbalance in runtime */ /proc/sys/kernel/irqbalance = 1 /* enable i...
Sep 9, 9:59 pm 2007
James C. Georgas
unfamiliar notation
I just came across a notation that I haven't seen before. It's in scripts/mconf.c: str_append(&help, _(menu_get_help(menu))); What's the deal with the underscore and the parentheses surrounding the call to menu_get_help? James /\V -
Sep 9, 9:09 pm 2007
Bernd Eckenfels
Re: unfamiliar notation
it is a macro from gettext, used to translate the string. Usually this should only be used on string constants. Gruss Bernd -
Sep 9, 9:20 pm 2007
Sam Ravnborg
Re: unfamiliar notation
Correct. And only in kconfig since this is the only piece of code supporting gettext in the kernel. Sam -
Sep 9, 9:46 pm 2007
Alex Hunsaker
[PATCH][RFC] Secure defaults (initial sysctl settings)
Allow for various sysctl settings to initially be set to more secure defaults. Why: While you can easily set these values at boot time with sysctl (and most distros do). -Its nice to be able to set their initial value. -It also allows someone who is unfamiliar with all the security knobs the kernel exposes to easily turn one on or off (or even read about what it does). -Another benefit is every time a new security feature comes out (mmap_min_addr for example) you don't have to change the setting ...
Sep 9, 8:49 pm 2007
Maxim Levitsky
[BUG]: circular locking depedency in videobuf code
Hi, I found a bug (circular lock dependency) in generic videobuf code: Suppose app has two threads, and one calls munmap() on a video buffer , and second calls VIDIOC_QBUF ioctl. (The actual app that does that is kdetv on exit) thread1: takes current->mm->mmap_sem, then takes q->lock thread2: takes q->lock then takes current->mm->mmap_sem Explanation: thread 1: munmap takes current->mm->mmap_sem, and calls videobuf_vm_close which tries to take q->lock ...
Sep 9, 5:08 pm 2007
Rafael J. Wysocki
[PATCH -mm 0/5] Hibernation: Clean up userland interface (re...
Hi, This series of patches is intended to eliminate some design problems with the hibernation userland interface. It contains the following changes: * allow the user space utilities to get the size of the image via ioctl * introduce ioctls to be used instead of SNAPSHOT_PMOPS * mark the SNAPSHOT_SET_SWAP_FILE ioctl as deprecated * introduce new ioctl definitions to replace the wrongly defined ones * move the definitions of hibernation ioctls to a separate header file located   in include/linux...
Sep 9, 4:57 pm 2007
Rafael J. Wysocki
[PATCH -mm 5/5] Hibernation: Introduce exportable suspend io...
From: Rafael J. Wysocki <rjw@sisk.pl> Move the definitions of hibernation ioctls to a separate header file in include/linux, which can be exported to the user space. Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl> --- Documentation/power/userland-swsusp.txt | 10 +++++----- include/linux/Kbuild | 1 + include/linux/suspend_ioctls.h | 32 ++++++++++++++++++++++++++++++++ kernel/power/power.h | 29 +---------------------------- 4...
Sep 9, 5:18 pm 2007
Rafael J. Wysocki
[PATCH -mm 4/5] Hibernation: Correct definitions of some ioc...
From: Rafael J. Wysocki <rjw@sisk.pl> Three ioctl numbers belonging to the hibernation userland interface, SNAPSHOT_ATOMIC_SNAPSHOT, SNAPSHOT_SET_IMAGE_SIZE, SNAPSHOT_AVAIL_SWAP, SNAPSHOT_GET_SWAP_PAGE, are defined in a wrong way (eg. not portable). Provide new ioctl numbers for these ioctls and mark the existing ones as deprecated. Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl> --- Documentation/power/userland-swsusp.txt | 26 +++++++++++++------------- kernel/power/power.h ...
Sep 9, 5:12 pm 2007
Rafael J. Wysocki
[PATCH -mm 3/5] Hibernation: Mark SNAPSHOT_SET_SWAP_FILE ioc...
From: Rafael J. Wysocki <rjw@sisk.pl> Mark the SNAPSHOT_SET_SWAP_FILE ioctl belonging to the hibernation userland interface as deprecated. Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl> Acked-by: Pavel Machek <pavel@ucw.cz> --- Documentation/power/userland-swsusp.txt | 14 ++------------ kernel/power/power.h | 1 - kernel/power/user.c | 9 +++++---- 3 files changed, 7 insertions(+), 17 deletions(-) Index: linux-2.6.23-rc5/kern...
Sep 9, 5:12 pm 2007
Rafael J. Wysocki
[PATCH -mm 2/5] Hibernation: Rework platform support ioctls ...
From: Rafael J. Wysocki <rjw@sisk.pl> Modify the hibernation userland interface by adding two new ioctls to it, SNAPSHOT_PLATFORM_SUPPORT and SNAPSHOT_POWER_OFF, that can be used, respectively, to switch the hibernation platform support on/off and to make the kernel transition the system to the hibernation state (eg. ACPI S4) using the platform (eg. ACPI) driver. These ioctls are intended to replace the misdesigned SNAPSHOT_PMOPS ioctl, which from now is regarded as obsolete and will be rem...
Sep 9, 5:07 pm 2007
Rafael J. Wysocki
[PATCH -mm 1/5] Hibernation: Introduce SNAPSHOT_GET_IMAGE_SI...
From: Rafael J. Wysocki <rjw@sisk.pl> Add a new ioctl, SNAPSHOT_GET_IMAGE_SIZE, returning the size of the (just created) hibernation image, to the hibernation userland interface. This ioctl is necessary so that the userland utilities using the interface need not access the hibernation image header, owned by the kernel, in order to obtain the size of the image. Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl> Acked-by: Pavel Machek <pavel@ucw.cz> --- Documentation/power/userla...
Sep 9, 5:06 pm 2007
Adrian Bunk
[2.6 patch] make sctp_addto_param() static
sctp_addto_param() can become static. Signed-off-by: Adrian Bunk <bunk@kernel.org> --- include/net/sctp/structs.h | 1 net/sctp/sm_make_chunk.c | 39 ++++++++++++++++++------------------- 2 files changed, 20 insertions(+), 20 deletions(-) 38f8064114b9e89a6a911b2e3625a41cdb477bcd diff --git a/include/net/sctp/structs.h b/include/net/sctp/structs.h index c0d5848..ee4559b 100644 --- a/include/net/sctp/structs.h +++ b/include/net/sctp/structs.h @@ -726,7 +726,6 @@ int sctp_use...
Sep 9, 4:25 pm 2007
Adrian Bunk
[-mm patch] unexport sys_{open,read}
sys_{open,read} can finally be unexported. Signed-off-by: Adrian Bunk <bunk@kernel.org> --- This patch has been sent on: - 27 Aug 2007 fs/open.c | 1 - fs/read_write.c | 1 - 2 files changed, 2 deletions(-) 6f6884f9ee675f2e804c6c58ca46337f9765dd0d diff --git a/fs/open.c b/fs/open.c index 23f334d..c0814de 100644 --- a/fs/open.c +++ b/fs/open.c @@ -1057,7 +1057,6 @@ asmlinkage long sys_open(const char __user *filename, int flags, int mode) prevent_tail_call(ret); ...
Sep 9, 4:25 pm 2007
Christoph Hellwig
Re: [-mm patch] unexport sys_{open,read}
Andrew, can you please put this in? Having these exports for syscalls around hsa been a long-time annoyance that can finally be fixed now. -
Sep 9, 4:39 pm 2007
Andrew Morton
Re: [-mm patch] unexport sys_{open,read}
Sure. But I think it is better to give people some warning when we're planning on breaking out-of-tree things. I do occasionally receive reports of "hey, the X driver which I get from Y doesn't work any more". Often it's open-source stuff, too. I see no point in irritating our users more than we need to. If we're changing an API or removing a function then there's nothing we can do, but in the case where we're simply deleting an export, it's exceedingly easy for us to EXPORT_UNUSED_SYMBOL (an...
Sep 9, 5:59 pm 2007
Adrian Bunk
Re: [-mm patch] unexport sys_{open,read}
You might rename EXPORT_UNUSED_SYMBOL to EXPORT_UNUSED_SYMBOL_ADRIAN because AFAIK I am still the only person who was ever dumb enough to use it after you wanted me to do so... Everyone else is allowed to always add, remove and change exports as he likes, but I should go through this special process. It makes no sense (except for keeping me busy) to treat some patches I send special while changes made by other people that break the modules API are still allowed. Andrew, please define API ...
Sep 9, 6:22 pm 2007
Arjan van de Ven
Re: [-mm patch] unexport sys_{open,read}
On Mon, 10 Sep 2007 00:22:03 +0200 Adrian, as much as I personally disagree with Andrew's policy here (esp for these symbols, they have been deprecated for years now), it's trivial to just follow his requirements and get this over with. As for who cares.. I do care still, unused exports make the kernel bigger for everyone, and for the most cases, encourage incorrect APIs to be used by driver writers (they act as a trap; the symbols generally are not used by anything in the kernel because the...
Sep 9, 6:41 pm 2007
Adrian Bunk
Re: [-mm patch] unexport sys_{open,read}
Andrew wants a deprecation period for these symbols where the few users are most likely doing something wrong when using them, but if someone e.g. changes the IRQ API in a way that breaks most external modules no deprecation period is required. If the kernel should get some module API stability processes like EXPORT_UNUSED_SYMBOL() deprecation periods have to be made mandatory for *all* API changes and removals. But forcing EXPORT_UNUSED_SYMBOL on me while allowing other people to do bigg...
Sep 9, 7:18 pm 2007
Adrian Bunk
[-mm patch] unexport snd_ctl_elem_{read,write}
snd_ctl_elem_{read,write} no longer have any modular users. Signed-off-by: Adrian Bunk <bunk@kernel.org> --- This patch has been sent on: - 27 Aug 2007 sound/core/control.c | 4 ---- 1 file changed, 4 deletions(-) 23e15051dde57c569e4c9aff1339aaf64185ea71 diff --git a/sound/core/control.c b/sound/core/control.c index 396e98e..6144d8a 100644 --- a/sound/core/control.c +++ b/sound/core/control.c @@ -716,8 +716,6 @@ int snd_ctl_elem_read(struct snd_card *card, struct snd_ctl_ele...
Sep 9, 4:25 pm 2007
Adrian Bunk
[-mm patch] unexport noautodma
noautodma can now be unexported. Signed-off-by: Adrian Bunk <bunk@kernel.org> --- This patch has been sent on: - 27 Aug 2007 957dc7601c050cb14a7afc842db0c2d62aaf3509 diff --git a/drivers/ide/ide.c b/drivers/ide/ide.c index b3b5f00..5b09066 100644 --- a/drivers/ide/ide.c +++ b/drivers/ide/ide.c @@ -100,8 +100,6 @@ static int ide_scan_direction; /* THIS was formerly 2.2.x pci=reverse */ int noautodma = 0; -EXPORT_SYMBOL(noautodma); - #ifdef CONFIG_BLK_DEV_IDEACPI int ide...
Sep 9, 4:25 pm 2007
Adrian McMenamin
[PATCH] Patch Dreamcast AICA driver to handle Maple bus supp...
This patches the AICA sound driver for the Dreamcast to handle the well known flakiness of the Dreamcast's G2 bus. This is dependent on getting Maple bus support (see http://lkml.org/lkml/2007/9/9/70) into the kernel. Signed-off by: Adrian McMenamin <adrian@mcmen.demon.co.uk> diff --git a/sound/sh/aica.c b/sound/sh/aica.c index 7397865..a42c58f 100644 --- a/sound/sh/aica.c +++ b/sound/sh/aica.c @@ -35,6 +35,7 @@ #include <linux/timer.h> #include <linux/delay.h> #includ...
Sep 9, 4:22 pm 2007
Matti Linnanvuori
[PATCH] [Bug 8998] Mutex documentation is unclear about soft...
diff -uprN linux-2.6.23/Documentation/mutex-design.txt linux-2.6.23-patched/Documentation/mutex-design.txt --- linux-2.6.23/Documentation/mutex-design.txt 2007-09-09 21:47:10.545275000 +0300 +++ linux-2.6.23-patched/Documentation/mutex-design.txt 2007-09-09 21:48:17.935493000 +0300 @@ -90,7 +90,8 @@ of advantages of mutexes: * - task may not exit with mutex held * - memory areas where held locks reside must not be freed * - held mutexes must not be reinitialized - * - mutexes may ...
Sep 9, 3:02 pm 2007
Arjan van de Ven
Re: [PATCH] [Bug 8998] Mutex documentation is unclear about ...
On Sun, 9 Sep 2007 12:02:53 -0700 (PDT) Matti Linnanvuori <mattilinnanvuori@yahoo.com> wrote: Hi, Acked-by: Arjan van de Ven <arjan@linux.intel.com> -
Sep 9, 3:06 pm 2007
Adrian Bunk
[2.6 patch] powerpc: proper defconfig for crosscompiles
The trick for finding the right defconfig is neat, but you forgot to provide an i686_defconfig. ;-) More seriously, cross compiling the defconfig is often useful, e.g. for testing the compilation of patches that touch multiple architectures, and this patch therefore chooses g5_defconfig if $(CROSS_COMPILE) is non-empty. Signed-off-by: Adrian Bunk <bunk@kernel.org> --- 0b0e6e0e3a16f48348cb9c40ef1bb55ef42f92eb diff --git a/arch/powerpc/Makefile b/arch/powerpc/Makefile index 2065138...
Sep 9, 2:21 pm 2007
Olof Johansson
Re: [2.6 patch] powerpc: proper defconfig for crosscompiles
You should probably use ppc64_defconfig instead, since it's the "superset" config that will compile a multiplatform kernel. -Olof -
Sep 9, 4:40 pm 2007
Sam Ravnborg
Re: [2.6 patch] powerpc: proper defconfig for crosscompiles
Thanks - much appreciated. Acked-by: Sam Ravnborg <sam@ravnborg.org> Sam -
Sep 9, 2:39 pm 2007
Adrian McMenamin
[PATCH 3/3] Maple bus support for the Sega Dreamcast - conse...
Make the VBLANK interrupt shareable. This is the third time I have posted this patch. This is required to allow the Maple bus driver to work (Maple hardware is synced with the VBLANK interrupt). Signed off: Adrian McMenamin <adrian@mcmen.demon.co.uk> diff --git a/drivers/video/pvr2fb.c b/drivers/video/pvr2fb.c index 7d6c298..13de07f 100644 --- a/drivers/video/pvr2fb.c +++ b/drivers/video/pvr2fb.c @@ -890,7 +890,7 @@ static int __init pvr2fb_dc_init(void) pvr2_fix.mmio_start = 0xa05f8...
Sep 9, 1:06 pm 2007
Adrian McMenamin
[PATCH 2/3] Maple bus support for the Sega Dreamcast - keybo...
This patch adds support for the SEGA Dreamcast keyboard. Following suggestions from the inout maintainer it has been somewhat rewritten since the previous posting (http://lkml.org/lkml/2007/9/4/168). It is dependent on patch 1 in this series (http://lkml.org/lkml/2007/9/9/70) - which provides the core maple bus support. Signed-off by: Adrian McMenamin <adrian@mcmen.demon.co.uk> diff --git a/drivers/input/keyboard/Kconfig b/drivers/input/keyboard/Kconfig index c97d5eb..056cc52 10064...
Sep 9, 1:01 pm 2007
Arjan van de Ven
Re: [PATCH 2/3] Maple bus support for the Sega Dreamcast - k...
On Sun, 9 Sep 2007 18:01:26 +0100 Hi, this driver in general is quite clean as well; I have only one suggestion for improvement. Right now you use a semaphore for locking, while all you really use it for is mutex semantics, I think it would be a good idea to convert the driver to use the actual mutex primitive; this will buy you a lot of extra automatic checking for bugs... Greetings, Arjan van de Ven -
Sep 9, 2:30 pm 2007
Adrian McMenamin
Re: [PATCH 2/3] Maple bus support for the Sega Dreamcast - k...
OK... here's a redone patch: Maple bus keyboard support for the SEGA Dreamcast. Signed-off by: Adrian McMenamin <adrian@mcmen.demon.co.uk> diff --git a/drivers/input/keyboard/Kconfig b/drivers/input/keyboard/Kconfig index c97d5eb..056cc52 100644 --- a/drivers/input/keyboard/Kconfig +++ b/drivers/input/keyboard/Kconfig @@ -253,4 +253,14 @@ config KEYBOARD_GPIO To compile this driver as a module, choose M here: the module will be called gpio-keys. + +config KEYBOARD_MAPLE +...
Sep 9, 4:35 pm 2007
Arjan van de Ven
Re: [PATCH 2/3] Maple bus support for the Sega Dreamcast - k...
On Sun, 9 Sep 2007 21:35:11 +0100 I think this has a bug; mutex_trylock has the opposite return code as down_trylock (mutex follows the same convention as the spinlock trylock).... so you probably need to add a ! here... -
Sep 9, 4:44 pm 2007
Adrian McMenamin
Re: [PATCH 2/3] Maple bus support for the Sega Dreamcast - k...
Quite right. Also explains the big fall in the keyboard's responsiveness - though, to be honest, I don't see how it worked at all. Here's the correct patch. Add maple bus keyboard support to the kernel. Signed-off by Adrian McMenamin <adrian@mcmen.demon.co.uk> diff --git a/drivers/input/keyboard/Kconfig b/drivers/input/keyboard/Kconfig index c97d5eb..056cc52 100644 --- a/drivers/input/keyboard/Kconfig +++ b/drivers/input/keyboard/Kconfig @@ -253,4 +253,14 @@ config KEYBOARD_GPIO ...
Sep 9, 4:57 pm 2007
Dmitry Torokhov
Re: [PATCH 2/3] Maple bus support for the Sega Dreamcast - k...
Hi Adrian, No externs in *.c files, please. Isn't this defined in maple.h which is Please use input_set_drvdata() here and input_get_drvdata() when maple_device appears to be fully integrated in sysfs, please add: kbd->dev->dev.parent = &dev->dev; Btw, introducing a temp for kbd->dev should reduce generated code If these are fixed you may add: Acked-by: Dmitry Torokhov <dtor@mail.ru> Thank you. -- Dmitry -
Sep 9, 11:50 pm 2007
Arjan van de Ven
Re: [PATCH 2/3] Maple bus support for the Sega Dreamcast - k...
On Sun, 9 Sep 2007 21:57:35 +0100 "Adrian McMenamin" <lkmladrian@gmail.com> wrote: ok looks good to me; thanks a lot for converting to mutexes ;) Acked-by: Arjan van de Ven <arjan@linux.intel.com> -
Sep 9, 5:03 pm 2007
Adrian McMenamin
[PATCH 1/3] Maple bus support for the Sega Dreamcast
This patch adds support for Sega's proprietary Maple bus - which is required to support the Dreamcast's peripherals. This driver represents a substantial re-write of the old 2.4 driver. Signed-off by: Adrian McMenamin <adrian@mcmen.demon.co.uk> diff --git a/arch/sh/Kconfig b/arch/sh/Kconfig index 54878f0..c1771b7 100644 --- a/arch/sh/Kconfig +++ b/arch/sh/Kconfig @@ -702,6 +702,17 @@ config CF_BASE_ADDR default "0xb8000000" if CF_AREA6 default "0xb4000000" if CF_AREA5 +config MA...
Sep 9, 12:46 pm 2007
Arjan van de Ven
Re: [PATCH 1/3] Maple bus support for the Sega Dreamcast
On Sun, 9 Sep 2007 17:46:54 +0100 Hi, in general the code looks clean; great job on that. A few suggestions and comments to hopefully help this driver to become even better: First of all, I'm a little concerned about the lack of locking that this driver seems to have; what guarantees the integrity of the lists used in the driver? I wonder if you want to at least check if the work was really for you before returning IRQ_HANDLED.... -
Sep 9, 2:28 pm 2007
Adrian McMenamin
Re: [PATCH 1/3] Maple bus support for the Sega Dreamcast
Could you explain what you think the issue is? The lists are only It's *always* for me - this is an end of DMA interrupt for the bus. -
Sep 9, 2:36 pm 2007
Arjan van de Ven
Re: [PATCH 1/3] Maple bus support for the Sega Dreamcast
On Sun, 9 Sep 2007 19:36:52 +0100 hmmm.... still. Once you look at it from any other place... preempt etc etc... it's sort of playing russian roulette with an empty gun, but without checking that the gun is actually empty... at some point someone may accidentally leave a bullet in ;) -
Sep 9, 2:44 pm 2007
Dennis Lubert
tsc timer related problems/questions
Hello list, we are encountering a few behaviours regarding the ways to get accurate timer values under Linux that we would call bugs, and where we are currently stuck in further diagnosing and/or fixing. Background: We are developing for SMP servers with up to 8 CPUs (mostly AMD64) and for various reasons would like to have time measurements with a resolution of maybe a few microseconds. - Using Kernel 2.6.20.7 and surroundings per default the TSC Timer is used. We are very happy with that (...
Sep 9, 12:31 pm 2007
Arjan van de Ven
Re: tsc timer related problems/questions
On Sun, 09 Sep 2007 18:31:45 +0200 Dennis Lubert <plasmahh@gmx.net> wrote: this needs further investigation but note that this one can have many different causes; this kind of oops trace often is also found for Please consider enabling the HPET in your bios; while it's not as fast on AMD multi-socket systems, afaik the tsc is not synchronized between packages. On Intel the tsc is derived from the FSB which is shared between the packages. HPET is central to the system and solves all...
Sep 9, 12:49 pm 2007
Jan Engelhardt
Re: tsc timer related problems/questions
Also, the TSC is not necessarily constant wrt. CPU clock speed. If your program stalls, the core may reduce frequency and hence TSC values are not linear to time anymore. Jan -- -
Sep 9, 2:17 pm 2007
Arjan van de Ven
Re: tsc timer related problems/questions
On Sun, 9 Sep 2007 20:17:28 +0200 (CEST) that depends on the CPU generation; most current cpus have constant-rate tscs (at least constant wrt their own concept of time, but at least independent of cpu frequency)... it gets more iffy on idle; on deep idle the tsc tends to stop ;( -
Sep 9, 2:31 pm 2007
Jeff Garzik
Re: [PATCH 16/22] advansys: Eliminate prototypes
What thoughts, if any, have been given to post-patch code arrangement, besides eliminating prototypes? This always struck me as a counterproductive exercise when taken by itself. Sure, prototypes were eliminated, but was code packed together in an efficient way afterwards? Ideally hot path code should be close together, ditto for various other things like error handling code. Without further explanation or details about your post-patch analysis, how do we even know the new code arrangeme...
Sep 9, 11:29 am 2007
Matthew Wilcox
Re: [PATCH 16/22] advansys: Eliminate prototypes
Eliminating prototypes saves me from an extra go round of the edit-compile testcycle when I change the signature of a function. It probably doesn't I tried to place functions close together that seemed like they were called together and called from each other. It's hard to know, of course, because GCC will make its own decisions about inlining, for example. At the end of the day, this is an NP problem. I remmber We don't, but the new layout is more likely to be good than bad, given how I d...
Sep 9, 1:48 pm 2007
Mark M. Hoffman
[GIT PATCH] hwmon update against v2.6.23-rc5-git1
Hi Linus: Please pull from: git://lm-sensors.org/kernel/mhoffman/hwmon-2.6.git release You will get one patch (below), which fixes a potential regression from v2.6.22 (although AFAIK there have been no reports about this one.) commit 15bde2f1a8e819213f54314505a5a0509673109b Author: Jean Delvare <khali@linux-fr.org> Date: Wed Aug 29 10:39:57 2007 +0200 hwmon: End of I/O region off-by-one Fix an off-by-one error in the I/O region declaration of two hardware monitor...
Sep 9, 10:50 am 2007
Avi Kivity
[PATCH -rc] KVM: MMU: Fix rare oops on guest context switch
A guest context switch to an uncached cr3 can require allocation of shadow pages, but we only recycle shadow pages in kvm_mmu_page_fault(). Move shadow page recycling to mmu_topup_memory_caches(), which is called from both the page fault handler and from guest cr3 reload. Signed-off-by: Avi Kivity <avi@qumranet.com> --- drivers/kvm/kvm.h | 10 +++++++--- drivers/kvm/mmu.c | 5 +++-- 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/drivers/kvm/kvm.h b/drivers/kvm/kv...
Sep 9, 9:34 am 2007
Rafael J. Wysocki
[PATCH -mm] Hibernation: Enter platform hibernation state in...
From: Rafael J. Wysocki <rjw@sisk.pl> Make hibernation_platform_enter() execute the enter-a-sleep-state sequence instead of the mixed shutdown-with-entering-S4 thing. Replace the shutting down of devices done by kernel_shutdown_prepare(), before entering the ACPI S4 sleep state, with suspending them and the shutting down of sysdevs with calling device_power_down(PMSG_SUSPEND) (just like before entering S1 or S3, but the target state is now S4). Also, disable the nonboot CPUs before enterin...
Sep 9, 9:04 am 2007
Geert Uytterhoeven
[PATCH] checksyscalls.sh: ignore restart_syscall
checksyscalls.sh: ignore restart_syscall, which is not needed on m68k and blackfin. Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org> --- scripts/checksyscalls.sh | 1 + 1 file changed, 1 insertion(+) --- a/scripts/checksyscalls.sh +++ b/scripts/checksyscalls.sh @@ -30,6 +30,7 @@ cat << EOF #endif /* i386-specific or historical system calls */ +#define __IGNORE_restart_syscall #define __IGNORE_break #define __IGNORE_stty #define __IGNORE_gtty Gr{oetje,eeti...
Sep 9, 5:34 am 2007
Sam Ravnborg
Re: [PATCH] checksyscalls.sh: ignore restart_syscall
If only these archs does not care then just stick that #define __IGNORE_... in the arch specifc unistd.h files. x86_64 and other do this already. Try: ls include/asm*/unistd.h | xargs grep IGNORE Sam -
Sep 9, 6:07 am 2007
previous daytodaynext day
September 8, 2007September 9, 2007September 10, 2007