[PATCH] regression: cifs endianness bug

2007-12-05 Thread Al Viro
access_flags_to_mode() gets on-the-wire data (little-endian) and treats it as host-endian. Introduced in commit e01b64001359034d04c695388870936ed3d1b56b ([CIFS] enable get mode from ACL when cifsacl mount option specified) Signed-off-by: Al Viro [EMAIL PROTECTED] --- diff --git

Re: Does vger.kernel.org automatically drop spams?

2007-12-05 Thread Matti Aarnio
On Wed, Dec 05, 2007 at 10:25:52PM +0900, Tetsuo Handa wrote: Hello. I posted a message to [EMAIL PROTECTED], [EMAIL PROTECTED] and [EMAIL PROTECTED] 11 hours ago, but it seems to me my message has not delivered yet. Usually it won't take 10 minutes to be delivered. So, I'm thinking my

Re: [Timers SMP] can this machine be helped?

2007-12-05 Thread Guennadi Liakhovetski
On Mon, 3 Dec 2007, Pavel Machek wrote: On Mon 2007-12-03 22:45:06, Guennadi Liakhovetski wrote: On Sun, 2 Dec 2007, Pavel Machek wrote: I compiled a .24-ish kernel for it with CONFIG_NO_HZ and CONFIG_HIGH_RES_TIMERS. To get the system boot at least sometimes I have to

[RFC PATCH 3/5] Add list_for_each_entry_reverse_from()

2007-12-05 Thread Bharata B Rao
Introduce list_for_each_entry_reverse_from() needed by a subsequent patch. Signed-off-by: Bharata B Rao [EMAIL PROTECTED] --- include/linux/list.h | 13 + 1 file changed, 13 insertions(+) --- a/include/linux/list.h +++ b/include/linux/list.h @@ -562,6 +562,19 @@ static inline void

[PATCH] x86_64: some whitespace cleanups in paging code

2007-12-05 Thread Joerg Roedel
This patch does some whitespace cleanups in the paging code to fix some checkpatch.pl warnings of my formerly merged cleanup patches. Signed-off-by: Joerg Roedel [EMAIL PROTECTED] --- arch/x86/mm/init_64.c|2 +- include/asm-x86/pgtable_64.h | 22 +++--- 2 files

[RFC PATCH 5/5] Directory cache invalidation

2007-12-05 Thread Bharata B Rao
Changes to keep dirent cache uptodate. Dirent cache stored as part of topmost directory's struct file needs to be marked stale whenever there is a modification in any of the directories that is part of the union. Modifications(like addition/deletion of new entries) to a directory can occur from

[RFC PATCH 1/5] Remove existing directory listing implementation

2007-12-05 Thread Bharata B Rao
Remove the existing readdir implementation. Signed-off-by: Bharata B Rao [EMAIL PROTECTED] --- fs/readdir.c | 10 + fs/union.c| 333 -- include/linux/union.h | 23 --- 3 files changed, 8 insertions(+), 358 deletions(-)

[RFC PATCH 0/5] Union Mount: A Directory listing approach with lseek support

2007-12-05 Thread Bharata B Rao
Hi, In Union Mount, the merged view of directories of the union is obtained by enhancing readdir(2)/getdents(2) to read and merge the entries of all the directories by eliminating the duplicates. While we have tried a few approaches for this, none of them could perfectly solve all the problems.

Re: Why does reading from /dev/urandom deplete entropy so much?

2007-12-05 Thread Mike McGrath
Matt Mackall wrote: On Tue, Dec 04, 2007 at 04:23:12PM -0600, Mike McGrath wrote: Matt Mackall wrote: On Tue, Dec 04, 2007 at 03:18:27PM -0600, Mike McGrath wrote: Matt Mackall wrote: which would have been in v2.6.22-rc4 through the normal CVE process. The only

Re: [patch 1/2] x86, ptrace: support for branch trace store(BTS)

2007-12-05 Thread Ingo Molnar
* Markus Metzger [EMAIL PROTECTED] wrote: Changes to the last version: - split implementation into two layers: ds/bts and ptrace - renamed TIF's - save/restore ds save area msr in __switch_to_xtra() - make block-stepping only look at BTF bit hm, i tried to merge your patches, but they were

[PATCH] exec: allow 2GB executables to run on 64-bit systems

2007-12-05 Thread Dave Anderson
When a executable that is greater than 2GB in size is attempted on a 64-bit system on a file system that calls, or uses generic_file_open() as its open handler, it fails with an EOVERFLOW erro. This patch adds a call to force_o_largefile() call in open_exec(), as done in sys_open() and

Re: Possible bug from kernel 2.6.22 and above, 2.6.24-rc4

2007-12-05 Thread Jie Chen
Ingo Molnar wrote: * Jie Chen [EMAIL PROTECTED] wrote: Simon Holm Th??gersen wrote: ons, 21 11 2007 kl. 20:52 -0500, skrev Jie Chen: There is a backport of the CFS scheduler to 2.6.21, see http://lkml.org/lkml/2007/11/19/127 Hi, Simon: I will try that after the thanksgiving holiday to find

about mounting the sysfs

2007-12-05 Thread wit
Hi, I found the initialization code of the sysfs in version 2.6.22: int __init sysfs_init(void) { int err = -ENOMEM; sysfs_dir_cachep = kmem_cache_create(sysfs_dir_cache, sizeof(struct sysfs_dirent), 0, 0, NULL, NULL); if

Re: [RFC 1/4] dmaengine: Add slave DMA interface

2007-12-05 Thread Haavard Skinnemoen
On Mon, 3 Dec 2007 12:20:15 -0700 Dan Williams [EMAIL PROTECTED] wrote: Hi Haavard, Some (delayed) comments. Thanks for the feedback. A few questions: The one change that seems to be missing, at least in my mind, is extending struct dma_client to include details about the slave device.

Re: 2.6.24-rc4-mm1 kobject changes broken with hvcs driver on powerpc

2007-12-05 Thread Greg KH
On Wed, Dec 05, 2007 at 07:42:02PM +0530, Kamalesh Babulal wrote: Hi Andrew, The 2.6.24-rc4-mm1 kernel build fails with build failure, CC drivers/char/hvcs.o drivers/char/hvcs.c: In function ‘hvcs_open’: drivers/char/hvcs.c:1180: error: wrong type argument to unary exclamation mark

Re: [patch] ext2: xip check fix

2007-12-05 Thread Carsten Otte
Nick Piggin wrote: Am I missing something here? I wonder how s390 works without this change? -- ext2 should not worry about checking sb-s_blocksize for XIP before the sb's blocksize actually gets set. Signed-off-by: Nick Piggin [EMAIL PROTECTED] --- Index: linux-2.6/fs/ext2/super.c

Re: [PATCH] x86_64: some whitespace cleanups in paging code

2007-12-05 Thread Ingo Molnar
* Joerg Roedel [EMAIL PROTECTED] wrote: This patch does some whitespace cleanups in the paging code to fix some checkpatch.pl warnings of my formerly merged cleanup patches. thanks, applied. btw., if there's any file you are particularly interested in cleaning up as a whole, you can use

[PATCH 001/001] parport: Added support for the Quatech SPPXP-100 Parallel port PCI ExpressCard

2007-12-05 Thread Luís Mendes
From: Luís Mendes [EMAIL PROTECTED] Added pci vendor id Quatech - 0x135c - to include/linux/pci_id.h Added pci device id for the Quatech SPPXP-100 ExpressCard - 0x278 - to include/linux/pci_id.h Modified drivers/parport/parport_pc.c to support the Quatech SPPXP-100 Parallel port PCI Expresscard

[RFC PATCH 2/5] Add New directory listing approach

2007-12-05 Thread Bharata B Rao
Another readdir implementation for union uounted directories. Reads dirents from all layers of the union into a cache, eliminates duplicates, before returning them into userspace. The cache is stored persistently as part of struct file of the topmost directory. Instead of original directory

MRS GREGGE VAN DER HOOFD.

2007-12-05 Thread infor_webb
Important Information, Please your urgent response is needed.It is a pleasure to inform you through this medium thatYouremailaddress won a prizeof $950,000.00 in category 'A'micronetemaillotterywith Reference number: LSLUK/2031/8161/07. Please contact our FOREIGN TRANSFER MANAGER.Dr. Paul

Re: [PATCH 3/3] Subject: SCHED - Use a 2-d bitmap for searching lowest-pri CPU

2007-12-05 Thread Gregory Haskins
On Wed, Dec 5, 2007 at 6:44 AM, in message [EMAIL PROTECTED], Ingo Molnar [EMAIL PROTECTED] wrote: * Gregory Haskins [EMAIL PROTECTED] wrote: However, that said, Steven's testing work on the mainline port of our series sums it up very nicely, so I will present that in lieu of digging

Does vger.kernel.org automatically drop spams?

2007-12-05 Thread Tetsuo Handa
Hello. I posted a message to [EMAIL PROTECTED], [EMAIL PROTECTED] and [EMAIL PROTECTED] 11 hours ago, but it seems to me my message has not delivered yet. Usually it won't take 10 minutes to be delivered. So, I'm thinking my messages was dropped. Does vger.kernel.org have spam filter and

[PATCH] fix group stop with exit race

2007-12-05 Thread Oleg Nesterov
do_signal_stop() counts all sub-thread and sets -group_stop_count accordingly. Every thread should decrement -group_stop_count and stop, the last one should notify the parent. However a sub-thread can exit before it notices the signal_pending(), or it may be somewhere in do_exit() already. In

Re: [BUG] 2.6.23-rc3 can't see sd partitions on Alpha

2007-12-05 Thread Bob Tracy
Current progress: 11 revisions left to test. The current partial git bisect log is available per Ingo's suggestion on bugzilla. http://bugzilla.kernel.org/show_bug.cgi?id=9457 -- Bob Tracy | They couldn't hit an

Re: laptop reboots right after hibernation

2007-12-05 Thread Kjartan Maraas
on., 05.12.2007 kl. 16.46 +0900, skrev Tejun Heo: Kjartan Maraas wrote: fr., 30.11.2007 kl. 19.39 +0900, skrev Tejun Heo: Kjartan Maraas wrote: on., 28.11.2007 kl. 10.09 +0900, skrev Tejun Heo: Kjartan Maraas wrote: I get this exact error message on a normal first time boot here. I'm

Re: [build bug] undefined reference to `dib3000mc_get_tuner_i2c_master'

2007-12-05 Thread Mauro Carvalho Chehab
Em Qua, 2007-12-05 às 11:33 +0100, Jiri Kosina escreveu: On Tue, 4 Dec 2007, Ingo Molnar wrote: Hmm, seems like -common part contains also code that is not completely common to all the modules. How about this? that does the trick and 2.6.24-rc4 now builds boots fine with that

[PATCH 6/9] remove unused macro

2007-12-05 Thread Glauber de Oliveira Costa
Mr. Grep says warn_if_not_ulong() is not used anymore anywhere in the code. So, we remove it. Signed-off-by: Glauber de Oliveira Costa [EMAIL PROTECTED] --- include/asm-x86/system_64.h |2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git a/include/asm-x86/system_64.h

[PATCH 4/9] remove references to cr8 register

2007-12-05 Thread Glauber de Oliveira Costa
As pointed out by Andi, linux never really uses this register so saving and restoring is not really necessary. This patch removes all references to it. Signed-off-by: Glauber de Oliveira Costa [EMAIL PROTECTED] --- arch/x86/kernel/asm-offsets_64.c |1 - arch/x86/kernel/suspend_64.c |

[PATCH 5/9] unify paravirt parts of system.h

2007-12-05 Thread Glauber de Oliveira Costa
This patch moves the i386 control registers manipulation functions, wbinvd, and clts functions to system.h. They are essentially the same as in x86_64. With this, system.h paravirt comes for free in x86_64. Signed-off-by: Glauber de Oliveira Costa [EMAIL PROTECTED] --- include/asm-x86/system.h

[PATCH 1/9] remove volatile keyword from clflush.

2007-12-05 Thread Glauber de Oliveira Costa
the p parameter is an explicit memory reference, and is enough to prevent gcc to being nasty here. The volatile seems completely not needed. Signed-off-by: Glauber de Oliveira Costa [EMAIL PROTECTED] --- include/asm-x86/system_32.h |2 +- 1 files changed, 1 insertions(+), 1 deletions(-)

Re: Possible bug from kernel 2.6.22 and above, 2.6.24-rc4

2007-12-05 Thread Jie Chen
Ingo Molnar wrote: * Jie Chen [EMAIL PROTECTED] wrote: the moment you saturate the system a bit more, the numbers should improve even with such a ping-pong test. You are right. If I manually do load balance (bind unrelated processes on the other cores), my test code perform as well as it did

Re: [PATCH] bw-qcam: adds parameter aggressive to skip passive detection and directly attempt initialization

2007-12-05 Thread Alan Cox
On Tue, 4 Dec 2007 16:14:13 -0800 Brett T. Warden [EMAIL PROTECTED] wrote: --- diff --git a/drivers/media/video/bw-qcam.c b/drivers/media/video/bw-qcam.c index 5842352..b74a9cb 100644 --- a/drivers/media/video/bw-qcam.c +++ b/drivers/media/video/bw-qcam.c @@ -82,11 +82,16 @@ OTHER

Re: [RFC PATCH 0/5] Union Mount: A Directory listing approach with lseek support

2007-12-05 Thread Dave Hansen
On Wed, 2007-12-05 at 20:07 +0530, Bharata B Rao wrote: In this approach, the cached dirents are given offsets in the form of linearly increasing indices/cookies (like 0, 1, 2,...). This helps us to uniformly define offsets across all the directories of the union irrespective of the type of

Re: [PATCH] x86: apic: Export symbols for extended interrupt LVT functions

2007-12-05 Thread Robert Richter
On 05.12.07 08:51:02, Arjan van de Ven wrote: which kernel code is using or going to use these export? For IBS it is Perfmon. See here: http://git.kernel.org/?p=linux/kernel/git/eranian/linux-2.6.git;a=commit;h=7caef3e19d17349f869884f5adf7c9823e32ade7 MCE export has been added for consistency

Re: [PATCH] UML - change sigcontext fields to match x86

2007-12-05 Thread Ingo Molnar
* Jeff Dike [EMAIL PROTECTED] wrote: git-x86, in commit 70aa1bd3839e3ec74ce65316528a82570e8de666, changed a lot of the sigcontext field names. This patch changes UML usage to match. thanks, we indeed missed those. Should we carry this in x86.git, or would you like to carry this in your

Re: [patch 12/18] usb: mon nopage

2007-12-05 Thread Pete Zaitcev
On Wed, 05 Dec 2007 18:15:59 +1100, [EMAIL PROTECTED] wrote: Convert USB mon driver from nopage to fault. if (offset = rp-b_size) - return NOPAGE_SIGBUS; + return VM_FAULT_SIGBUS; chunk_idx = offset / CHUNK_SIZE; pageptr = rp-b_vec[chunk_idx].pg;

Re: Possible bug from kernel 2.6.22 and above, 2.6.24-rc4

2007-12-05 Thread Eric Dumazet
Ingo Molnar a écrit : * Jie Chen [EMAIL PROTECTED] wrote: I just ran the same test on two 2.6.24-rc4 kernels: one with CONFIG_FAIR_GROUP_SCHED on and the other with CONFIG_FAIR_GROUP_SCHED off. The odd behavior I described in my previous e-mails were still there for both kernels. Let me know

[patch 2/2] man: man pages for ptrace BTS extension

2007-12-05 Thread Markus Metzger
Resend using different email client Changes to the last version: - ported to v 2.68 Signed-off-by: Markus Metzger [EMAIL PROTECTED] Signed-off-by: Suresh Siddha [EMAIL PROTECTED] --- Index: man-pages-2.68/man2/ptrace.2 === ---

Re: [PATCH] bw-qcam: adds parameter aggressive to skip passive detection and directly attempt initialization

2007-12-05 Thread Brett Warden
On Dec 5, 2007 9:37 AM, Alan Cox [EMAIL PROTECTED] wrote: Although I would suggest that aggressive may not be the best term - I'm not such of a good one however - skip_passive ? How about force_init? -- Brett Warden -- To unsubscribe from this list: send the line unsubscribe linux-kernel in

Re: Kernel 2.6.23.9 + mdadm 2.6.2-2 + Auto rebuild RAID1?

2007-12-05 Thread Nix
On 1 Dec 2007, Jan Engelhardt uttered the following: On Dec 1 2007 06:19, Justin Piszcz wrote: RAID1, 0.90.03 superblocks (in order to be compatible with LILO, if you use 1.x superblocks with LILO you can't boot) Says who? (Don't use LILO ;-) Well, your kernels must be on a

[PATCH 07/20] drivers/edac/: use LIST_HEAD instead of LIST_HEAD_INIT

2007-12-05 Thread Denis Cheng
single list_head variable initialized with LIST_HEAD_INIT could almost always can be replaced with LIST_HEAD declaration, this shrinks the code and looks better. Signed-off-by: Denis Cheng [EMAIL PROTECTED] --- drivers/edac/edac_device.c |2 +- drivers/edac/edac_mc.c |2 +-

[PATCH] drivers/base: use LIST_HEAD instead of call to INIT_LIST_HEAD in __init

2007-12-05 Thread Denis Cheng
LIST_HEAD has been widely used, so switch to this simpler method. Signed-off-by: Denis Cheng [EMAIL PROTECTED] --- drivers/base/attribute_container.c |9 + drivers/base/base.h|1 - drivers/base/init.c|1 - 3 files changed, 1 insertions(+), 10

Re: [PATCH] USB: option: Bind to the correct interface of the Huawei E220

2007-12-05 Thread Oliver Neukum
Am Mittwoch, 5. Dezember 2007 17:34:23 schrieb Pete Zaitcev: Looks good to me, shorter than my patch, has no duplication, allows to use the storage, looks like a winner. Unfortunately, it leaves ub for dead, Is that new? How could ub do this up to now? Regards Oliver

[PATCH 0/9 - v2] Integrate system.h

2007-12-05 Thread Glauber de Oliveira Costa
Hi, At Ingo's request, here it goes a new patchset, that actually applies ontop of the x86 tree (mm branch). Besides this issue, I've also included a patch that remove the cr8 references, as Andi suggested. -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of

[PATCH 2/9] put together equal pieces of system.h

2007-12-05 Thread Glauber de Oliveira Costa
This patch puts together pieces of system_{32,64}.h that looks like the same. It's the first step towards integration of this file. Signed-off-by: Glauber de Oliveira Costa [EMAIL PROTECTED] --- arch/x86/kernel/process_64.c |2 +- include/asm-x86/system.h | 70

[PATCH 1/2] cxgb3 - T3C support update

2007-12-05 Thread Divy Le Ray
From: Divy Le Ray [EMAIL PROTECTED] Update GPIO mapping for T3C. Update xgmac for T3C support. Fix typo in mtu table. Signed-off-by: Divy Le Ray [EMAIL PROTECTED] --- drivers/net/cxgb3/regs.h | 27 ++- drivers/net/cxgb3/t3_hw.c |6 +++---

How to manage shared persistent local caching (FS-Cache) with NFS?

2007-12-05 Thread David Howells
Okay... I'm getting to the point where I want to release my local caching patches again and have NFS work with them. This means making NFS mounts share or not share appropriately - something that's engendered a fair bit of argument. So I'd like to solicit advice on how best to deal with this

New Address Family: Inter Process Networking (IPN)

2007-12-05 Thread Renzo Davoli
Inter Process Networking: a kernel module (and some simple kernel patches) to provide AF_IPN: a new address family for process networking, i.e. multipoint, multicast/broadcast communication among processes (and networks). WHAT IS IT? --- Berkeley socket have been designed for client

Re: [PATCH] bw-qcam: Adds module parameter 'aggressive' to skip polite auto-detection prior to direct initialization.

2007-12-05 Thread Brett Warden
Sorry, forgot to copy back to the lists. On Dec 5, 2007 8:49 AM, Brett Warden [EMAIL PROTECTED] wrote: On Dec 4, 2007 4:46 PM, Alan Cox [EMAIL PROTECTED] wrote: Someone still has a bw-qcam device ? Yes. I haven't found a better option for very-low-light, although I admit I haven't looked

[PATCH 001/001] parport: Added support for the Quatech SPPXP-100 Parallel port PCI ExpressCard

2007-12-05 Thread Luis Mendes
From: Luís P Mendes [EMAIL PROTECTED] Added pci vendor id Quatech - 0x135c - to include/linux/pci_id.h Added pci device id for the Quatech SPPXP-100 ExpressCard - 0x278 - to include/linux/pci_id.h Modified drivers/parport/parport_pc.c to support the Quatech SPPXP-100 Parallel port PCI

Re: [PATCH] USB: option: Bind to the correct interface of the Huawei E220

2007-12-05 Thread Pete Zaitcev
On Wed, 5 Dec 2007 19:23:14 +0100, Oliver Neukum [EMAIL PROTECTED] wrote: Am Mittwoch, 5. Dezember 2007 17:34:23 schrieb Pete Zaitcev: Looks good to me, shorter than my patch, has no duplication, allows to use the storage, looks like a winner. Unfortunately, it leaves ub for dead, Is that

[patch 1/2] x86, ptrace: support for branch trace store(BTS)

2007-12-05 Thread Markus Metzger
Resend using different mail client Changes to the last version: - split implementation into two layers: ds/bts and ptrace - renamed TIF's - save/restore ds save area msr in __switch_to_xtra() - make block-stepping only look at BTF bit Signed-off-by: Markus Metzger [EMAIL PROTECTED]

[PATCH -mm] sys_setsid: remove now unneeded session != 1 check

2007-12-05 Thread Oleg Nesterov
Eric's fix clone(CLONE_NEWPID) eliminated the last reason for this hack. Signed-off-by: Oleg Nesterov [EMAIL PROTECTED] --- PT/kernel/sys.c~2007-11-27 16:58:38.0 +0300 +++ PT/kernel/sys.c 2007-12-05 21:31:53.0 +0300 @@ -1056,11 +1056,8 @@ asmlinkage long sys_setsid(void)

[bug?] ALSA sound/core/info.c:852: BUG? (root)

2007-12-05 Thread Ingo Molnar
hi, is this boot warning anything to worry about: [0.00] ALSA sound/core/info.c:852: BUG? (root) x86 64-bit config (randconfig generated) attached. fuller dmesg below. (let me know if you need more info) Ingo [0.00] Calling initcall

Re: How to manage shared persistent local caching (FS-Cache) with NFS?

2007-12-05 Thread Chuck Lever
On Dec 5, 2007, at 12:11 PM, David Howells wrote: Okay... I'm getting to the point where I want to release my local caching patches again and have NFS work with them. This means making NFS mounts share or not share appropriately - something that's engendered a fair bit of argument. So I'd

Re: [PATCH] exec: allow 2GB executables to run on 64-bit systems

2007-12-05 Thread Andi Kleen
Dave Anderson [EMAIL PROTECTED] writes: When a executable that is greater than 2GB in size is attempted on a 64-bit system on a file system that calls, or uses generic_file_open() as its open handler, it fails with an EOVERFLOW erro. This patch adds a call to force_o_largefile() call in

[PATCH 27/28] AFS: Implement shared-writable mmap [try #2]

2007-12-05 Thread David Howells
Implement shared-writable mmap for AFS. The key with which to access the file is obtained from the VMA at the point where the PTE is made writable by the page_mkwrite() VMA op and cached in the affected page. If there's an outstanding write on the page made with a different key, then

[PATCH 24/28] AFS: Add a function to excise a rejected write from the pagecache [try #2]

2007-12-05 Thread David Howells
Add a function - cancel_rejected_write() - to excise a rejected write from the pagecache. This function is related to the truncation family of routines. It permits the pages modified by a network filesystem client (such as AFS) to be excised and discarded from the pagecache if the attempt to

[PATCH 22/28] fcrypt endianness misannotations [try #2]

2007-12-05 Thread David Howells
Signed-off-by: Al Viro [EMAIL PROTECTED] --- crypto/fcrypt.c | 88 --- 1 files changed, 44 insertions(+), 44 deletions(-) diff --git a/crypto/fcrypt.c b/crypto/fcrypt.c index d161949..a32cb68 100644 --- a/crypto/fcrypt.c +++

[PATCH 13/28] CacheFiles: Add missing copy_page export for ia64 [try #2]

2007-12-05 Thread David Howells
This one-line patch fixes the missing export of copy_page introduced by the cachefile patches. This patch is not yet upstream, but is required for cachefile on ia64. It will be pushed upstream when cachefile goes upstream. Signed-off-by: Prarit Bhargava [EMAIL PROTECTED] Signed-off-by: David

[PATCH 21/28] NFS: Display local caching state [try #2]

2007-12-05 Thread David Howells
Display the local caching state in /proc/fs/nfsfs/volumes. Signed-off-by: David Howells [EMAIL PROTECTED] --- fs/nfs/client.c |7 --- fs/nfs/fscache.h | 15 +++ 2 files changed, 19 insertions(+), 3 deletions(-) diff --git a/fs/nfs/client.c b/fs/nfs/client.c index

[PATCH 19/28] NFS: Use local caching [try #2]

2007-12-05 Thread David Howells
The attached patch makes it possible for the NFS filesystem to make use of the network filesystem local caching service (FS-Cache). To be able to use this, an updated mount program is required. This can be obtained from: http://people.redhat.com/steved/fscache/util-linux/ To mount an

[PATCH 11/28] FS-Cache: Provide an add_wait_queue_tail() function [try #2]

2007-12-05 Thread David Howells
Provide an add_wait_queue_tail() function to add a waiter to the back of a wait queue instead of the front. Signed-off-by: David Howells [EMAIL PROTECTED] --- include/linux/wait.h |2 ++ kernel/wait.c| 18 ++ 2 files changed, 20 insertions(+), 0 deletions(-) diff

[PATCH 10/28] FS-Cache: Recruit a couple of page flags for cache management [try #2]

2007-12-05 Thread David Howells
Recruit a couple of page flags to aid in cache management. The following extra flags are defined: (1) PG_fscache (PG_owner_priv_2) The marked page is backed by a local cache and is pinning resources in the cache driver. (2) PG_fscache_write (PG_owner_priv_3) The marked page

[PATCH 04/28] KEYS: Add keyctl function to get a security label [try #2]

2007-12-05 Thread David Howells
Add a keyctl() function to get the security label of a key. The following is added to Documentation/keys.txt: (*) Get the LSM security context attached to a key. long keyctl(KEYCTL_GET_SECURITY, key_serial_t key, char *buffer, size_t buflen) This function

[PATCH 02/28] KEYS: Check starting keyring as part of search [try #2]

2007-12-05 Thread David Howells
Check the starting keyring as part of the search to (a) see if that is what we're searching for, and (b) to check it is still valid for searching. The scenario: User in process A does things that cause things to be created in its process session keyring. The user then does an su to another user

[PATCH 0/7] Permit filesystem local caching

2007-12-05 Thread David Howells
These patches add local caching for network filesystems such as NFS and AFS. The patches can roughly be broken down into a number of sets: (*) 01-keys-inc-payload.diff (*) 02-keys-search-keyring.diff (*) 03-keys-callout-blob.diff Three patches to the keyring code made to help the

[PATCH 01/28] KEYS: Increase the payload size when instantiating a key [try #2]

2007-12-05 Thread David Howells
Increase the size of a payload that can be used to instantiate a key in add_key() and keyctl_instantiate_key(). This permits huge CIFS SPNEGO blobs to be passed around. The limit is raised to 1MB. If kmalloc() can't allocate a buffer of sufficient size, vmalloc() will be tried instead.

[PATCH 2/7] KEYS: Check starting keyring as part of search

2007-12-05 Thread David Howells
Check the starting keyring as part of the search to (a) see if that is what we're searching for, and (b) to check it is still valid for searching. The scenario: User in process A does things that cause things to be created in its process session keyring. The user then does an su to another user

[PATCH 8/9] move switch_to macro to system.h

2007-12-05 Thread Glauber de Oliveira Costa
This patch moves the switch_to() macro to system.h As those macros are fundamentally different between i386 and x86_64, they are enclosed around an ifdef. Signed-off-by: Glauber de Oliveira Costa [EMAIL PROTECTED] --- include/asm-x86/system.h| 61

[PATCH 3/9] unify load_segment macro

2007-12-05 Thread Glauber de Oliveira Costa
This patch unifies the load_segment() macro, making them equal in both x86_64 and i386 architectures. The common version goes to system.h, and the old are deleted. Signed-off-by: Glauber de Oliveira Costa [EMAIL PROTECTED] --- include/asm-x86/system.h| 21 +

Re: [REPOST PATCH] Add iSCSI IBFT support (v0.4)

2007-12-05 Thread Konrad Rzeszutek
On Tue, Dec 04, 2007 at 09:12:11PM -0600, Doug Maxey wrote: Overall, looks nice. Good work. Thank you. comments inline below... .. snip .. +#include linux/iscsi_ibft.h Is the current include from open-iscsi being duplicated? If not, why not consolidate in one file? The include

Re: mkasm-offsets.sh ?

2007-12-05 Thread Hollis Blanchard
On Wed, 2007-12-05 at 07:49 +, Oleg Verych wrote: On Dec 4, 2007 9:59 PM, Hollis Blanchard [EMAIL PROTECTED] wrote: Hi, I found this thread: http://lkml.org/lkml/2007/4/1/237 I guess the complete patch was never finished? I could sure it (for pretty much the same reason as lguest).

[PATCH 05/20] crypto/async_tx/async_tx.c: use LIST_HEAD instead of LIST_HEAD_INIT

2007-12-05 Thread Denis Cheng
single list_head variable initialized with LIST_HEAD_INIT could almost always can be replaced with LIST_HEAD declaration, this shrinks the code and looks better. Signed-off-by: Denis Cheng [EMAIL PROTECTED] --- crypto/async_tx/async_tx.c |3 +-- 1 files changed, 1 insertions(+), 2

RFC: PNP: do not stop/start devices in suspend/resume path

2007-12-05 Thread Bjorn Helgaas
Re: warning on suspend-to-RAM caused by pnp-request-ioport-and-iomem-resources-used-by-active-devices.patch, thread here: http://lkml.org/lkml/2007/11/22/110 On Saturday 01 December 2007 05:00:34 am Jiri Slaby wrote: I didn't get it. Maybe some trolls poking around or something (maybe the ext3

Re: [PATCH] exec: allow 2GB executables to run on 64-bit systems

2007-12-05 Thread Dave Anderson
Andi Kleen wrote: I agree in theory. We've only seen instances on 64-bitters... I think that's because gcc does not support the medium/large code models for i386. Although in theory someone could create an executable with a large enough .data. -Andi Or perhaps huge debuginfo section(s)?

Re: [patch 1/2] x86, ptrace: support for branch trace store(BTS)

2007-12-05 Thread Ingo Molnar
* Markus Metzger [EMAIL PROTECTED] wrote: Resend using different mail client thanks, this one applied fine to x86.git. Ingo -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at

[PATCH 28/28] FS-Cache: Make kAFS use FS-Cache [try #2]

2007-12-05 Thread David Howells
The attached patch makes the kAFS filesystem in fs/afs/ use FS-Cache, and through it any attached caches. The kAFS filesystem will use caching automatically if it's available. Signed-Off-By: David Howells [EMAIL PROTECTED] --- fs/Kconfig |8 + fs/afs/Makefile|3

[PATCH 20/28] NFS: Configuration and mount option changes to enable local caching on NFS [try #2]

2007-12-05 Thread David Howells
Changes to the kernel configuration defintions and to the NFS mount options to allow the local caching support added by the previous patch to be enabled. Signed-off-by: David Howells [EMAIL PROTECTED] --- fs/Kconfig|8 fs/nfs/client.c |2 ++ fs/nfs/internal.h |1 +

[PATCH 15/28] CacheFiles: Add a hook to write a single page of data to an inode [try #2]

2007-12-05 Thread David Howells
Add an address space operation to write one single page of data to an inode at a page-aligned location (thus permitting the implementation to be highly optimised). The data source is a single page. This is used by CacheFiles to store the contents of netfs pages into their backing file pages.

[PATCH 17/28] CacheFiles: Export things for CacheFiles [try #2]

2007-12-05 Thread David Howells
Export a number of functions for CacheFiles's use. Signed-off-by: David Howells [EMAIL PROTECTED] --- fs/super.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/fs/super.c b/fs/super.c index ceaf2e3..cd199ae 100644 --- a/fs/super.c +++ b/fs/super.c @@ -266,6 +266,7 @@

[PATCH 16/28] CacheFiles: Permit the page lock state to be monitored [try #2]

2007-12-05 Thread David Howells
Add a function to install a monitor on the page lock waitqueue for a particular page, thus allowing the page being unlocked to be detected. This is used by CacheFiles to detect read completion on a page in the backing filesystem so that it can then copy the data to the waiting netfs page.

[PATCH 05/28] Security: Change current-fs[ug]id to current_fs[ug]id() [try #2]

2007-12-05 Thread David Howells
Change current-fs[ug]id to current_fs[ug]id() so that fsgid and fsuid can be separated from the task_struct. Signed-off-by: David Howells [EMAIL PROTECTED] --- arch/ia64/kernel/perfmon.c|4 ++-- arch/powerpc/platforms/cell/spufs/inode.c |4 ++--

[PATCH 03/28] KEYS: Allow the callout data to be passed as a blob rather than a string [try #2]

2007-12-05 Thread David Howells
Allow the callout data to be passed as a blob rather than a string for internal kernel services that call any request_key_*() interface other than request_key(). request_key() itself still takes a NUL-terminated string. The functions that change are: request_key_with_auxdata()

Re: How to manage shared persistent local caching (FS-Cache) with NFS?

2007-12-05 Thread David Howells
Jon Masters [EMAIL PROTECTED] wrote: I think the shared superblock approach is the right one, but I'm a little concerned that there would now be different behavior for fscache and non-cached setups. Not sure of any better idea though. The behaviour varies a bit anyway because there's a

Re: [PATCH] remove nonsense force-casts from ocfs2

2007-12-05 Thread Mark Fasheh
On Wed, Dec 05, 2007 at 08:46:47AM +, Al Viro wrote: endianness annotations in networking code had been in place for quite a while; in particular, sin_port and s_addr are annotated as big-endian. Code in ocfs2 had __force casts added apparently to shut the sparse warnings up; of

[PATCH 9/9] unify system.h

2007-12-05 Thread Glauber de Oliveira Costa
This patch finishes the unification of system.h file. i386 needs a constant to be defined, and it is defined inside an ifdef Other than that, pretty much nothing but includes are left in the arch specific headers, and they are deleted. Signed-off-by: Glauber de Oliveira Costa [EMAIL PROTECTED]

[PATCH 7/9] unify smp parts of system.h

2007-12-05 Thread Glauber de Oliveira Costa
The memory barrier parts of system.h are not very different between i386 and x86_64, the main difference being the availability of instructions, which we handle with the use of ifdefs. They are consolidated in system.h file, and then removed from the arch-specific headers. Signed-off-by: Glauber

[PATCH 2/2] cxgb3 - Parity initialization for T3C adapters

2007-12-05 Thread Divy Le Ray
From: Divy Le Ray [EMAIL PROTECTED] Add parity initialization for T3C adapters. Signed-off-by: Divy Le Ray [EMAIL PROTECTED] --- drivers/net/cxgb3/adapter.h |1 drivers/net/cxgb3/cxgb3_main.c| 82 drivers/net/cxgb3/cxgb3_offload.c | 15 ++

[PATCH 3/7] KEYS: Allow the callout data to be passed as a blob rather than a string

2007-12-05 Thread David Howells
Allow the callout data to be passed as a blob rather than a string for internal kernel services that call any request_key_*() interface other than request_key(). request_key() itself still takes a NUL-terminated string. The functions that change are: request_key_with_auxdata()

Re: [PATCH] block: use jiffies conversion functions in scsi_ioctl.c

2007-12-05 Thread Jens Axboe
On Wed, Dec 05 2007, Tejun Heo wrote: Use msecs_to_jiffies() and jiffies_to_msecs() in scsi_ioctl(). Sometimes callers use very large values for e.g. vendor specific media clear command and calculation can overflow. Thanks Tejun, applied. -- Jens Axboe -- To unsubscribe from this list: send

[PATCH/HP6xx/HP7xx] Cleanup drivers/input/keyboard|touchscreen Kconfigs

2007-12-05 Thread Kristoffer Ericson
Greetings, Oki, here is a more standard Kconfig setting for both platforms. Nothing major really. Note that touchscreen for hp6xx was called TOUCHSCREEN_HP600 and I've changed it to HP6XX to get it inline with everything else. This should be pushed through dmitry I assume. Its against

Re: Allow (O=...) from file

2007-12-05 Thread Erik Mouw
On Tue, Dec 04, 2007 at 09:04:33PM -0600, Jay Cliburn wrote: Sam, This piece of the top-level Makefile in current git causes an out-of-tree driver Makefile to fail. 101 ifdef O 102 ifeq ($(origin O), command line) 103 KBUILD_OUTPUT := $(O) 104 endif 105 endif The out-of-tree

Scheduler behaviour

2007-12-05 Thread Holger Wolf
We discovered performance degradation with dbench when using kernel 2.6.23 compared to kernel 2.6.22. In our case we booted a Linux in a IBM System z9 LPAR with 256MB of ram with 4 CPU's. This system uses a striped LV with 16 disks on a Storage Server connected via 8 4GBit links. A dbench was

Re: [PATCH 4/7] KEYS: Add keyctl function to get a security label

2007-12-05 Thread Casey Schaufler
--- David Howells [EMAIL PROTECTED] wrote: Add a keyctl() function to get the security label of a key. The following is added to Documentation/keys.txt: (*) Get the LSM security context attached to a key. long keyctl(KEYCTL_GET_SECURITY, key_serial_t key, char *buffer,

Re: [PATCH] UML - change sigcontext fields to match x86

2007-12-05 Thread Jeff Dike
On Wed, Dec 05, 2007 at 05:48:16PM +0100, Ingo Molnar wrote: thanks, we indeed missed those. Should we carry this in x86.git, or would you like to carry this in your UML tree? Probably better for it to go in x86.git - that way it travels with your sigcontext patch.

Micro vs macro optimizations (was: Re: Kernel Development Objective-C)

2007-12-05 Thread Avi Kivity
Willy Tarreau wrote: Hi Avi, On Tue, Dec 04, 2007 at 11:07:05PM +0200, Avi Kivity wrote: Willy Tarreau wrote: With 10Gbit/s ethernet working you start to care about every cycle. If you have 10M packets/sec no amount of cycle-saving will help

[PATCH] x86: apic: Extended interrupt LVT support for AMD Barcelona (32bit)

2007-12-05 Thread Robert Richter
Signed-off-by: Robert Richter [EMAIL PROTECTED] --- arch/x86/kernel/apic_32.c | 31 +++ 1 files changed, 31 insertions(+), 0 deletions(-) diff --git a/arch/x86/kernel/apic_32.c b/arch/x86/kernel/apic_32.c index 1872f88..ce6e341 100644 --- a/arch/x86/kernel/apic_32.c

Re: [PATCH] x86_64: some whitespace cleanups in paging code

2007-12-05 Thread Heiko Carstens
On Wed, Dec 05, 2007 at 03:40:12PM +0100, Joerg Roedel wrote: This patch does some whitespace cleanups in the paging code to fix some checkpatch.pl warnings of my formerly merged cleanup patches. ... - set_pmd(pmd + i,__pmd(addr | __PAGE_KERNEL_LARGE_EXEC)); +

Re: Possible bug from kernel 2.6.22 and above, 2.6.24-rc4

2007-12-05 Thread Eric Dumazet
Ingo Molnar a écrit : * Eric Dumazet [EMAIL PROTECTED] wrote: $ gcc -O2 -o burner burner.c $ ./burner Time to perform the unit of work on one thread is 0.040328 s Time to perform the unit of work on 2 threads is 0.040221 s ok, but this actually suggests that scheduling is fine for this,

<    1   2   3   4   5   6   7   8   9   >