| From | Subject | Date |
|---|---|---|
| Erez Zadok | [GIT PULL -mm] 0/9 Unionfs updates/cleanups/fixes
The following is a series of patches related to Unionfs. The main change
here is that unionfs now has its own ->writepages method.
These patches were tested (where appropriate) on Linus's 2.6.24 latest code
(as of v2.6.23-6623-g55b70a0), as well as the backports to
2.6.{23,22,21,20,19,18,9} on ext2/3/4, xfs, reiserfs, nfs2/3/4, jffs2,
ramfs, tmpfs, cramfs, and squashfs (where available). See
http://unionfs.filesystems.org/ to download backported unionfs code.
Please pull from the 'master' ...
| Oct 21, 7:51 pm 2007 |
| Erez Zadok | [PATCH 1/9] Unionfs: security convert lsm into a static inte...
From: Andrew Morton <akpm@linux-foundation.org>
ERROR: "security_inode_permission" [fs/unionfs/unionfs.ko] undefined!
ERROR: "security_file_ioctl" [fs/unionfs/unionfs.ko] undefined!
Need these back.
Cc: "Serge E. Hallyn" <serue@us.ibm.com>
Cc: Arjan van de Ven <arjan@infradead.org>
Cc: Chris Wright <chrisw@sous-sol.org>
Cc: James Morris <jmorris@namei.org>
Cc: Stephen Smalley <sds@tycho.nsa.gov>
Cc: Josef 'Jeff' Sipek <jsipek@cs.sunysb.edu>
Signed-of...
| Oct 21, 7:51 pm 2007 |
| Erez Zadok | [PATCH 8/9] Unionfs: fix unionfs_setattr to handle ATTR_KILL...
From: Jeff Layton <jlayton@redhat.com>
Don't allow unionfs_setattr to trip the BUG() in notify_change. Clear
ATTR_MODE if the either ATTR_KILL_S*ID is set. This also allows the
lower filesystem to interpret these bits in its own way.
Signed-off-by: Jeff Layton <jlayton@redhat.com>
Cc: Josef 'Jeff' Sipek <jsipek@cs.sunysb.edu>
Cc: Christoph Hellwig <hch@lst.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Erez Zadok <ezk@cs.sunysb.edu>...
| Oct 21, 7:51 pm 2007 |
| Erez Zadok | [PATCH 7/9] Unionfs: remove for_writepages nfs workaround
This is no longer necessary since struct writeback_control no longer has a
fs_private field which lower file systems (esp. nfs) use. Plus, unionfs now
defines its own ->writepages method.
Signed-off-by: Erez Zadok <ezk@cs.sunysb.edu>
---
fs/unionfs/mmap.c | 39 ---------------------------------------
1 files changed, 0 insertions(+), 39 deletions(-)
diff --git a/fs/unionfs/mmap.c b/fs/unionfs/mmap.c
index b43557e..bed11c3 100644
--- a/fs/unionfs/mmap.c
+++ b/fs/unionfs/mmap.c
@@ ...
| Oct 21, 7:51 pm 2007 |
| Erez Zadok | [PATCH 3/9] Unionfs: support lower filesystems without write...
Implement unionfs_writepages. As per
mm/filemap.c:__filemap_fdatawrite_range(), don't call our writepage if the
lower mapping has BDI_CAP_NO_WRITEBACK capability set.
Signed-off-by: Pekka J Enberg <penberg@cs.helsinki.fi>
Signed-off-by: Erez Zadok <ezk@cs.sunysb.edu>
---
fs/unionfs/mmap.c | 23 +++++++++++++++++++++++
fs/unionfs/union.h | 1 +
2 files changed, 24 insertions(+), 0 deletions(-)
diff --git a/fs/unionfs/mmap.c b/fs/unionfs/mmap.c
index 6440282..b43557e 100644
...
| Oct 21, 7:51 pm 2007 |
| Erez Zadok | [PATCH 9/9] Unionfs: remove obsolete #define and comment
Signed-off-by: Erez Zadok <ezk@cs.sunysb.edu>
---
include/linux/union_fs.h | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
diff --git a/include/linux/union_fs.h b/include/linux/union_fs.h
index 7f8dcc3..d29318f 100644
--- a/include/linux/union_fs.h
+++ b/include/linux/union_fs.h
@@ -20,8 +20,5 @@
# define UNIONFS_IOCTL_INCGEN _IOR(0x15, 11, int)
# define UNIONFS_IOCTL_QUERYFILE _IOR(0x15, 15, int)
-/* We don't support normal remount, but unionctl uses it. */
-# define...
| Oct 21, 7:51 pm 2007 |
| Erez Zadok | [PATCH 2/9] Unionfs: slab api remove useless ctor parameter ...
From: Andrew Morton <akpm@linux-foundation.org>
fs/unionfs/super.c: In function 'unionfs_init_inode_cache':
fs/unionfs/super.c:874: warning: passing argument 5 of 'kmem_cache_create' from incompatible pointer type
Cc: Christoph Lameter <clameter@sgi.com>
Cc: Josef 'Jeff' Sipek <jsipek@cs.sunysb.edu>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Erez Zadok <ezk@cs.sunysb.edu>
---
fs/unionfs/super.c | 4 ++--
1 files changed, 2 insertion...
| Oct 21, 7:51 pm 2007 |
| Erez Zadok | [PATCH 5/9] Unionfs: don't bother validating dentry if it ha...
Signed-off-by: Erez Zadok <ezk@cs.sunysb.edu>
---
fs/unionfs/debug.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/fs/unionfs/debug.c b/fs/unionfs/debug.c
index 68692d7..894bf7c 100644
--- a/fs/unionfs/debug.c
+++ b/fs/unionfs/debug.c
@@ -132,6 +132,9 @@ void __unionfs_check_dentry(const struct dentry *dentry,
inode = dentry->d_inode;
dstart = dbstart(dentry);
dend = dbend(dentry);
+ /* don't check dentry/mnt if no lower branches */
+ if (dstart &l...
| Oct 21, 7:51 pm 2007 |
| Erez Zadok | [PATCH 6/9] Unionfs: convert a printk to pr_debug in release
This is mostly an informational message, not an error.
Signed-off-by: Erez Zadok <ezk@cs.sunysb.edu>
---
fs/unionfs/dentry.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/fs/unionfs/dentry.c b/fs/unionfs/dentry.c
index 6bab9d6..a3d7b6e 100644
--- a/fs/unionfs/dentry.c
+++ b/fs/unionfs/dentry.c
@@ -455,9 +455,9 @@ static void unionfs_d_release(struct dentry *dentry)
goto out;
} else if (dbstart(dentry) < 0) {
/* this is due to a failed lookup *...
| Oct 21, 7:51 pm 2007 |
| Erez Zadok | [PATCH 4/9] Unionfs: don't printk trivial message upon norma...
Signed-off-by: Erez Zadok <ezk@cs.sunysb.edu>
---
fs/unionfs/rename.c | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/fs/unionfs/rename.c b/fs/unionfs/rename.c
index 91d41d4..1ab474f 100644
--- a/fs/unionfs/rename.c
+++ b/fs/unionfs/rename.c
@@ -40,10 +40,12 @@ static int __unionfs_rename(struct inode *old_dir, struct dentry *old_dentry,
new_dentry, new_dentry->d_name.name,
bindex);
if (IS_ERR(lower_new_dentry)) {
- printk(K...
| Oct 21, 7:51 pm 2007 |
| Grant Likely | [PATCH] Uartlite: speed up console output
From: Grant Likely <grant.likely@secretlab.ca>
Change the wait_tx routine to call cpu_relax() instead of udelay() to
reduce console output latency and test for the TXFULL bit instead of
TXEMPTY. That way the FIFO doesn't need to by 100% flushed before
writing the next character.
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
---
drivers/serial/uartlite.c | 10 ++++++----
1 files changed, 6 insertions(+), 4 deletions(-)
diff --git a/drivers/serial/uartlite.c b/driver...
| Oct 21, 7:02 pm 2007 |
| Roel Kluin | [PATCH] errors with assignments in if
I am not entirely certain about the third one:
from fs/udf/udf_sb.h:
#define UDF_SB_VAT(X) ( UDF_SB(X)->s_vat )
if it's the desired behavior then I think this should at least be changed to
UDF_SB_VAT(sb) = udf_iget(sb, ino);
if (!(UDF_SB_VAT(sb)))
---
Errors with assignments in ifs
Signed-off-by: Roel Kluin <12o3l@tiscali.nl>
---
diff --git a/arch/arm/mach-omap2/clock.c b/arch/arm/mach-omap2/clock.c
index d9af436..e6e85b7 100644
--- a/ar...
| Oct 21, 6:45 pm 2007 |
| Roel Kluin | Re: [PATCH] errors with assignments in if
On a second glance, I think it's the desired behavior. Use this patch instead.
---
Errors with assignments in ifs
Signed-off-by: Roel Kluin <12o3l@tiscali.nl>
diff --git a/arch/arm/mach-omap2/clock.c b/arch/arm/mach-omap2/clock.c
index d9af436..e6e85b7 100644
--- a/arch/arm/mach-omap2/clock.c
+++ b/arch/arm/mach-omap2/clock.c
@@ -651,7 +651,7 @@ static u32 omap2_get_clksel(u32 *div_sel, u32 *field_mask,
break;
case CM_SYSCLKOUT_SEL1:
div_addr = (u32)&PRCM_CLKOU...
| Oct 21, 7:10 pm 2007 |
| Michael Weiss | Problem running a task in ring 2 on x86
Hi,
I'm trying to get a process to ring level 2 on IA-32 architecture.
Therefore I have patched the modify_ldt syscall in ldt.c to generate a
new ldt entry with rpl 2 (patch below).
Now my problem is how to get the code segment with rpl2, located in
the ldt at index 0,
loaded by a syscall, so that the application is running in ring 2
after return of that syscall.
Under kernel 2.0.x the following seemed to do this, if ptr is a
pointer to a userstack allocated with malloc:
asmlinkage int sys...
| Oct 21, 5:25 pm 2007 |
| Artem Bityutskiy | forcing write-back from FS - again
Hi Andrew,
some time ago we were talking about doing write-back from inside a file-system
(http://marc.info/?l=linux-kernel&m=119097117713616&w=2). You said that I'm not
the only person who needs this, because the same thing is needed for delayed
allocation.
The problem is that if we initiate write-back from prepare_write() and we are
having a dirty page lock, we deadlock in write_cache_pages() which tries to
lock the same page.
You suggested to enhance struct writeback_control an...
| Oct 21, 4:19 pm 2007 |
| Andrew Morton | Re: forcing write-back from FS - again
We could just skip locked pages altogether in writeback. Perhaps in
WB_SYNC_NONE mode, or perhaps add a new flag in writeback_control to select
this behaviour.
It _should_ be the case that the number of locked-and-dirty pages which
writeback encounters is very small, so skipping locked pages during
writeback-for-memory-flushing won't have any significant effect. The first
step should be to add a new /proc/vmstat field to count these pages and
then do broad testing (especially on blocksize<...
| Oct 21, 4:55 pm 2007 |
| Baxter Kylie | RT patched 2.6.23 - x86_64 fails compile
Found this today when trying to migrate to a RT patched kernel:
kernel/fork.c:74: error: section of 'tasklist_lock' conflicts with
previous declaration
make[1]: *** [kernel/fork.o] Error 1
make: *** [kernel] Error 2
.config
---------
#
# Automatically generated make config: don't edit
# Linux kernel version: 2.6.23-rt1
# Sun Oct 21 15:02:47 2007
#
CONFIG_X86_64=y
CONFIG_64BIT=y
CONFIG_X86=y
CONFIG_GENERIC_TIME=y
CONFIG_GENERIC_CLOCKEVENTS=y
CONFIG_GENERIC_CLOCKEVENTS_BROADCAST=y
CONFIG...
| Oct 21, 3:39 pm 2007 |
| Thomas Meyer | Device mapper regression 2.6.23 vs. v2.6.23-6597-gcfa76f0
Hi.
I have an external hard drive with an encrypted partition. I am using
kde so all i had to do under 2.6.23 was
"cryptsetup luksOpen /dev/sdb2 crypt-extern"
then udev/hal/kde (?)automatically created an desktop icon. i could
click this icon to mount and open the drive.
when i do the luksOpen command with v2.6.23-6597-gcfa76f0 this icon is
not created anymore.
a few commits were made in drivers/md, so it seems something broke.
config extract:
CONFIG_MD=y
# CONFIG_BLK_DEV_MD is not ...
| Oct 21, 3:23 pm 2007 |
| Jonathan McDowell | [PATCH] Add bluetooth support to toshiba-acpi driver
This patch adds bluetooth support to the toshiba-acpi driver. I have
tried to follow the same format for the /proc/acpi/toshiba/bluetooth
file as followed in the thinkpad-acpi driver. In the long term the
rfkill infrastructure looks like the way forward for this functionality,
but at present it doesn't seem to be suitable.
Traditionally the userland "toshset" program would have been used to
enable bluetooth, but this requires either CONFIG_TOSHIBA or a patched
toshiba-acpi to emulate the /dev/toshi...
| Oct 21, 1:35 pm 2007 |
| Ravinandan Arakali (... | Question about free/used memory on Linux
Hi kernel gurus,
I am trying to find out the memory that's used on my linux box.
I find that there are quite a few confusing metrics. How do
I find out the "true" used memory ?
1. For eg. "free -m" shows free memory (excluding buffers/caches)
as 308 MB while I can see(from "df" output) that the the tmpfs
partitions take up about 400 MB. So, does "free -m" not consider
the tmpfs partitions ?
2. I try to add up RSS field of all processes reported by
"ps aux" command. But is it true that this w...
| Oct 21, 1:54 pm 2007 |
| Vaidyanathan Srinivasan | Re: Question about free/used memory on Linux
pagecache pages may be the reason for the confusion. Most free memory can
be consumed under 'Cached' in /proc/meminfo
Most of this memory is easily reclaimable and can be considered 'free'.
However the cost of reclaim increases if the pages are memory mapped and/or
dirty.
Cached-Mapped-Dirty in /proc/meminfo can be seen as a easily freeable
memory and can be added to the 'Free' in /proc/meminfo count
What is your intention of finding free memory in the system? Linux kernel
takes the best d...
| Oct 21, 3:00 pm 2007 |
| Ravinandan Arakali (... | RE: Question about free/used memory on Linux
Hi Vaidy,
Thanks for clarifying several of my doubts.
To answer your question about my intention, we currently have a
system with 2 GB RAM and I need to find out the actual used and
free memory so that we can decide if the same setup(applications,
tmpfs etc.) can run on another system with lesser memory.
Is it correct to say that the "used" field "free -m" excluding
buffers/caches would give the correct idea of used memory
(I mean does it take care of shared memory, shared copies of
librarie...
| Oct 21, 4:21 pm 2007 |
| Geert Uytterhoeven | Re: kbuild: disable depmod in cross-compile kernel build
> Cc: Christian Bj
| Oct 21, 1:53 pm 2007 |
| Frans Pop | Re: kbuild: disable depmod in cross-compile kernel build
That's right. I do depmod on i386 and amd64 for _all_ Debian architectures
without any problems and I don't see why it should be a problem when running
on other arches. It used to be a problem with depmod from modutils, but with
depmod from module-init-tools it works perfectly.
All it needs is the -b option and correct kernel version.
-
| Oct 21, 2:18 pm 2007 |
| Kamalesh Babulal | [PATCH] Fixing the warning in cgroup.c
Hi,
Removing the unused variable root.
kernel/cgroup.c: In function ‘proc_cgroupstats_show’:
kernel/cgroup.c:2405: warning: unused variable ‘root’
Signed-off-by: Kamalesh Babulal <kamalesh@linux.vnet.ibm.com>
Index: linux-git/kernel/cgroup.c
===================================================================
--- linux-git.orig/kernel/cgroup.c 2007-10-21 08:49:15.000000000 +0530
+++ linux-git/kernel/cgroup.c 2007-10-21 22:24:13.000000000 +0530
@@ -2402,7 +2402,6 @@ struc...
| Oct 21, 1:30 pm 2007 |
| Balbir Singh | Re: [PATCH] Fixing the warning in cgroup.c
Looks good to me!
Acked-by: Balbir Singh <balbir@linux.vnet.ibm.com>
--
Warm Regards,
Balbir Singh
Linux Technology Center
IBM, ISTL
-
| Oct 21, 1:55 pm 2007 |
| Bryan Wu | [GIT-PULL Part #2] Blackfin arch fixing and updates for 2.6....
Hi Linus,
This set of commits are for Blackfin architecture updates part #2 for 2.6.24 merge window,
only thing related with Blackfin arch.
- Blackfin arch BF52x processor initial support
- General purpose timers API
- Critical bug fixing and code cleanup
Please pull from 'for-linus' branch of
master.kernel.org:/pub/scm/linux/kernel/git/cooloney/blackfin-2.6.git for-linus
to receive the following updates:
arch/blackfin/Kconfig | 61 +-
arch/blackfin/M...
| Oct 21, 12:53 pm 2007 |
| Sam Ravnborg | Re: [GIT-PULL Part #2] Blackfin arch fixing and updates for ...
During the merge window kbuild shifted to use KBUILD_CFLAGS
and KBUILD_AFLAGS so you need to update the above two assignments.
I think it works as is but then you cannot pass additional CFLAGS
from the commandline.
Sam
-
| Oct 21, 1:34 pm 2007 |
| Or Sagi | [PATCH] Reserve low memory
Adds a CONFIG_RESERVE_LOWMEM option which reserves all memory below
CONFIG_PHYSICAL_START address.
Cleans up some of the static early-boot memory allocations (nodemap, trampoline)
Useful in particular for running virtual machines which require a 1:1 mapping
of the physical memory. This lets a virtual machine control a dma-capable device
directly without hypervisor involvement.
Signed-off-by: Or Sagi <ors@tutis.com>
---
arch/x86/kernel/e820_64.c | 11 +++++++++++
arch/x86/kernel/hea...
| Oct 21, 12:54 pm 2007 |
| Tal Kelrich | 2.4/2.6 local TCP connect oddity
Hi,
I've run into a problem where a process trying to connect to a local
port within the local port range eventually ends up connected to itself,
with source port = dest port.
similar behavior can be gotten by running netcat as follows:
nc -p 1025 localhost 1025
I'm not really sure if that's a bug, but the original case was at least
unexpected.
Regards,
Tal Kelrich
--
Tal Kelrich
PGP fingerprint: 3EDF FCC5 60BB 4729 AB2F CAE6 FEC1 9AAC 12B9 AA69
Key Available at: [ message continues ] " title="http://www.hasturk...">http://www.hasturk... | Oct 21, 11:53 am 2007 |
| Willy Tarreau | Re: 2.4/2.6 local TCP connect oddity
Hi,
It is not a bug, it is caused by the "simultaneous connect" feature of
TCP. Although rarely used, in TCP you can connect two clients together.
They just have to exchange their SYN, SYN/ACK then ACK and bingo, they're
connected. In fact, you found the easiest way to achieve it, by using the
same port. To demonstrate the feature, I'm used to either temporarily
block SYNs with iptables, or by unplugging the cable between two machines.
I personally dislike this feature as it can be exploited to...
| Oct 21, 1:29 pm 2007 |
| Tal Kelrich | Re: 2.4/2.6 local TCP connect oddity
On Sun, 21 Oct 2007 19:29:02 +0200
Hi,
It still seems confusing that a connect against localhost may
randomly succeed.
Here's a better example, if somewhat violent. eventually succeeds.
(p=$((`cat /proc/sys/net/ipv4/ip_local_port_range|cut -f1`+1)); while
true ; do nc -v -v 127.0.0.1 $p ; done)
Regards,
Tal
--
Tal Kelrich
PGP fingerprint: 3EDF FCC5 60BB 4729 AB2F CAE6 FEC1 9AAC 12B9 AA69
Key Available at: http://www.hasturkun.com/pub.txt
----
We are each entitled to our own opinio...
| Oct 21, 4:53 pm 2007 |
| Frans Pop | Why are ipmi modules being loaded?
Last week I sent this same question to the openipmi-developer list on
sourceforge, but did not get any replies.
Does anyone here know the answer?
========
AFAICT my system does not support ipmi, but despite that fact something is
loading the ipmi_msghandler module and trying to load the ipmi_si module.
The second fails, but the first stays loaded. From dmesg:
ipmi message handler version 39.1
[...]
ipmi_si: Trying PCI-specified kcs state machine at mem address 0x90220000,
slave address 0x0,...
| Oct 21, 9:34 am 2007 |
| Dave Jones | Re: Why are ipmi modules being loaded?
On Sun, Oct 21, 2007 at 03:34:11PM +0200, Frans Pop wrote:
> AFAICT from modules.pcimap, ipmi_si should only be loaded for PCI ID
> [103c:121a] (which I don't have), or for devices with class c0700 (which I
> also don't have).
Hmm, is lspci truncating the class code?
> 01:00.4 Serial bus controller [0c07]: Intel Corporation 82573E KCS (Active Management) [8086:108e] (rev 03)
Because this smells like an IPMI-ish device.
Dave
--
http://www.codemonkey.org.uk
-
| Oct 21, 4:09 pm 2007 |
| Martin Mares | Re: Why are ipmi modules being loaded?
Yes, it is a IPMI class code, only older versions of lspci know nothing
about it, so they at least show the base class (Serial bus controller)
and then add the complete class ID in square brackets.
Have a nice fortnight
--
Martin `MJ' Mares <mj@ucw.cz> http://mj.ucw.cz/
Faculty of Math and Physics, Charles University, Prague, Czech Rep., Earth
"How I need a drink, alcoholic in nature, after the tough chapters involving quantum mechanics!" = \pi
-
| Oct 21, 5:58 pm 2007 |
| Frans Pop | Re: Why are ipmi modules being loaded?
Actually, these three look to be related (see also link below):
01:00.0 Ethernet controller: Intel Corporation 82573E Gigabit Ethernet
Controller (Copper) (rev 03)
01:00.3 Serial controller: Intel Corporation Active Management Technology -
SOL (rev 03)
01:00.4 Serial bus controller [0c07]: Intel Corporation 82573E KCS (Active
Management) (rev 03)
I did check the class files in /sys. For these devices those have:
$ cat /sys/bus/pci/devices/0000\:01\:00.0/class
0x020000
$ cat /sys/bus/pci/dev...
| Oct 21, 5:04 pm 2007 |
| Andreas Schwab | Re: Why are ipmi modules being loaded?
The last byte (prog-if) is masked out: 0xffffff00.
Andreas.
--
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
-
| Oct 21, 7:39 pm 2007 |
| Bruno Vetel | Problem with a Driver rt73 in ad-hoc mode betwwen a arm and ...
[Empty message]
| Oct 21, 8:53 am 2007 |
| Ananth N Mavinakayan... | [PATCH] Move kprobes examples to samples/ (resend)
Andrew,
This patch moves the kprobe examples currently in
Documentation/krprobes.txt to under samples/. Patch originally by Randy
Dunlap. I have modified the examples slightly per Christoph's
suggestions.
Ananth
---
Move kprobes examples from Documentation/kprobes.txt to under samples/.
Patch originally by Randy Dunlap.
In addition, I have
o Updated the patch to apply on 2.6.23-mm1
o Modified examples code to build on multiple architectures. Currently,
the examples code works for x86...
| Oct 21, 8:39 am 2007 |
| Philippe Elie | [patch 1/2] oProfile: oops when profile_pc() return ~0LU
From: Philippe Elie <phil.el@wanadoo.fr>
Instruction pointer returned by profile_pc() can be a random value. This
break the assumption than we can safely set struct op_sample.eip field to
a magic value to signal to the per-cpu buffer reader side special event
like task switch ending up in a segfault in get_task_mm() when profile_pc()
return ~0UL. Fixed by exchanging the meaning of eip/event field for these
specials events.
Special thanks to Sami Farin who reported the oops and helped patien...
| Oct 21, 8:08 am 2007 |
| Toralf | cpu governor ondemand issue
I use the following one liner for regression tests of the cpufreq governor and
friends:
tfoerste@n22 ~ $ time factor 819734028463158891
which usually needs 5.5 secs to complete at 1.7 GHz of my pentium M processor.
With the current git sources (commit cfa76f0 at Sat Oct 20 20:19:15 2007 -0700)
instead this command needs 3 times longer if I run the "distributed.net client"
as a background process with nice level 19 b/c the cpu frequency still stays
at 600 MHz.
After stopping dnetc the cpu freq...
| Oct 21, 7:16 am 2007 |
| Avi Kivity | [PATCH 00/11] KVM updates for Linux 2.6.24-rc review
The following patches fix fallout from the main 2.6.24 KVM merge. An
exception is the movnti emulation patch, which adds support for Linux
2.6.16 guests.
The patches can be found in kvm.git in the branch kvm-updates-2.6.24.
There is also a branch kvm-updates-2.6.25 which will form the basis of
the next merge window submission.
Please review the patches and let me know if something is wrong or if
a patch is missing.
Aurelien Jarno (1):
KVM: x86 emulator: fix access registers for instr...
| Oct 21, 7:08 am 2007 |
| Avi Kivity | Re: [PATCH 00/11] KVM updates for Linux 2.6.24-rc review
Laurent, I believe the following patch (in kvm-updates-2.6.25) needs to
--
error compiling committee.c: too many arguments to function
-
| Oct 21, 7:12 am 2007 |
| Laurent Vivier | Re: [PATCH 00/11] KVM updates for Linux 2.6.24-rc review
What kind of comment do you want ?
What are the requirements to go in 2.6.24 instead of 2.6.25 ?
Is a bug correction enough ? :-P
This patch correct a bad behavior of x86_emulate_insn() in case of error with a
REP prefix.
This patch is needed because, without it, when REP prefix is used with an
instruction failing for some reasons (like IO or page fault) we don't restore
all modified registers (like RSI and RDI), but only ECX and EIP, so when we
re-enter in x86_emulate_insn() we modify a...
| Oct 21, 7:53 am 2007 |
| Avi Kivity | Re: [PATCH 00/11] KVM updates for Linux 2.6.24-rc review
Okay, I guess it is needed. Can you backport it to the branch? It's
very different from kvm-updates-2.6.24...
--
error compiling committee.c: too many arguments to function
-
| Oct 21, 8:07 am 2007 |
| Laurent Vivier | Re: [kvm-devel] [PATCH 00/11] KVM updates for Linux 2.6.24-r...
Well, in fact it is not needed in 2.6.24, because this patch correct a bad
behavior introduced by commit 57f4e446ebca4aad5c11364baf8477c8cfcb16a4 (which is
not in kvm-update-2.6.24):
KVM: Call x86_decode_insn() only when needed
Move emulate_ctxt to kvm_vcpu to keep emulate context when we exit from kvm
module. Call x86_decode_insn() only when needed. Modify x86_emulate_insn() to
not modify the context if it must be re-entered.
So, in fact, the answer is (after correctly understanding the qu...
| Oct 21, 8:38 am 2007 |
| Avi Kivity | [PATCH 11/11] KVM: Improve local apic timer wraparound handl...
From: Kevin Pedretti <kevin.pedretti@gmail.com>
Better handle wrap-around cases when reading the APIC CCR
(current count register). Also, if ICR is 0, CCR should also
be 0... previously reading CCR before setting ICR would result
in a large kinda-random number.
Signed-off-by: Kevin Pedretti <kevin.pedretti@gmail.com>
Signed-off-by: Avi Kivity <avi@qumranet.com>
---
drivers/kvm/lapic.c | 36 ++++++++++++++++++++++++++----------
1 files changed, 26 insertions(+), 10 deletion...
| Oct 21, 7:08 am 2007 |
| Avi Kivity | [PATCH 10/11] KVM: Fix local apic timer divide by zero
From: Kevin Pedretti <kevin.pedretti@gmail.com>
kvm_lapic_reset() was initializing apic->timer.divide_count to 0,
which could potentially lead to a divide by zero error in
apic_get_tmcct(). Any guest that reads the APIC's CCR (current count)
register before setting DCR (divide configuration) would trigger a divide
by zero exception in the host kernel, leading to a host-OS crash.
This patch results in apic->timer.divide_count being initialized to
2 at reset, eliminating the bug (DCR=0...
| Oct 21, 7:08 am 2007 |
| Avi Kivity | [PATCH 09/11] KVM: Move kvm_guest_exit() after local_irq_ena...
From: Laurent Vivier <Laurent.Vivier@bull.net>
We need to make sure that the timer interrupt happens before we clear
PF_VCPU, so the accounting code actually sees guest mode.
http://lkml.org/lkml/2007/10/15/114
Signed-off-by: Laurent Vivier <Laurent.Vivier@bull.net>
Signed-off-by: Avi Kivity <avi@qumranet.com>
---
drivers/kvm/kvm_main.c | 11 ++++++++++-
1 files changed, 10 insertions(+), 1 deletions(-)
diff --git a/drivers/kvm/kvm_main.c b/drivers/kvm/kvm_main.c
index...
| Oct 21, 7:08 am 2007 |
| Avi Kivity | [PATCH 07/11] KVM: VMX: Force vm86 mode if setting flags dur...
When resetting from userspace, we need to handle the flags being cleared
even after we are in real mode.
Signed-off-by: Avi Kivity <avi@qumranet.com>
---
drivers/kvm/vmx.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/drivers/kvm/vmx.c b/drivers/kvm/vmx.c
index f130c01..bb56ae3 100644
--- a/drivers/kvm/vmx.c
+++ b/drivers/kvm/vmx.c
@@ -523,6 +523,8 @@ static unsigned long vmx_get_rflags(struct kvm_vcpu *vcpu)
static void vmx_set_rflags(struct kvm_vcpu *vc...
| Oct 21, 7:08 am 2007 |
| previous day | today | next day |
|---|---|---|
| October 20, 2007 | October 21, 2007 | October 22, 2007 |
| Al Boldi | Re: [ck] Re: [ANNOUNCE] RSDL completely fair starvation free interactive cpu sched... |
| Ingo Molnar | Re: [patch] sched_clock(): cleanups |
| Greg KH | [GIT PATCH] driver core patches against 2.6.24 |
| Amit K. Arora | [RFC] Heads up on sys_fallocate() |
git: | |
| Jarek Poplawski | [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
| David Miller | [GIT]: Networking |
| Gerrit Renker | [PATCH 18/37] dccp: Support for Mandatory options |
| Denys Vlasenko | [PATCH 1/2] bnx2: factor out gzip unpacker |
