Re: selinux networking: sleeping functin called from invalid context in 2.6.20-rc[12]

2006-12-25 Thread Paul Moore
-Original Message- From: Andrew Morton <[EMAIL PROTECTED]> Date: Sunday, Dec 24, 2006 7:25 pm Subject: Re: selinux networking: sleeping functin called from invalid context in 2.6.20-rc[12] On Mon, 25 Dec 2006 05:21:24 +0800 >"Adam J. Richter" <[EMAIL PROTECTED]> wrote: > >> Under 2.

[RFC][PATCH -mm take2 5/5] add "add" element in /sys/class/misc/netconsole

2006-12-25 Thread Keiichi KII
From: Keiichi KII <[EMAIL PROTECTED]> This patch contains switch function of netpoll. If "enabled" attribute of certain port is '1', this port is used and the configurations of this port are uable to change. If "enabled" attribute of certain port is '0', this port isn't used and the configuratio

[RFC][PATCH -mm take2 4/5] switch function of netpoll

2006-12-25 Thread Keiichi KII
From: Keiichi KII <[EMAIL PROTECTED]> This patch contains switch function of netpoll. If "enabled" attribute of certain port is '1', this port is used and the configurations of this port are uable to change. If "enabled" attribute of certain port is '0', this port isn't used and the configuratio

[RFC][PATCH -mm take2 3/5] add interface for netconsole using sysfs

2006-12-25 Thread Keiichi KII
From: Keiichi KII <[EMAIL PROTECTED]> This patch contains the following changes. create a sysfs entry for netconsole in /sys/class/misc. This entry has elements related to netconsole as follows. You can change configuration of netconsole(writable attributes such as IP address, port number and so

[RFC][PATCH -mm take2 1/5] marking __init

2006-12-25 Thread Keiichi KII
From: Keiichi KII <[EMAIL PROTECTED]> This patch contains the following cleanups. - add __init for initialization functions(option_setup() and init_netconsole()). Signed-off-by: Keiichi KII <[EMAIL PROTECTED]> Signed-off-by: Takayoshi Kochi <[EMAIL PROTECTED]> --- --- linux-mm/drivers/net/net

[PATCH -mm take2 0/5] proposal for dynamic configurable netconsole

2006-12-25 Thread Keiichi KII
From: Keiichi KII <[EMAIL PROTECTED]> The netconsole is a very useful module for collecting kernel message under certain circumstances(e.g. disk logging fails, serial port is unavailable). But current netconsole is not flexible. For example, if you want to change ip address for logging agent, in

Re: [RFC][PATCH -mm 3/5] add interface for netconsole using sysfs

2006-12-25 Thread Keiichi KII
Thank you for your replies and reviews. I will follow your advices. static LIST_HEAD(target_list); static DEFINE_SPINLOCK(target_list_lock); +static ssize_t show_local_ip(struct netconsole_target *nt, char *buf) +{ + return sprintf(buf, "%d.%d.%d.%d\n", HIPQUAD(nt->np.local_ip));

Re: [RFC][PATCH -mm 0/5] proposal for dynamic configurable netconsole

2006-12-25 Thread Keiichi KII
Thank you for your comments. So, I propose the following extended features for netconsole. 1) support for multiple logging agents. 2) add interface to access each parameter of netconsole using sysfs. This patch is for linux-2.6.20-rc1-mm1 and is divided to each function. Your comments are v

Re: Network card IRQ balancing with Intel 5000 series chipsets

2006-12-25 Thread Robert Iakobashvili
Arjan, On 12/25/06, Arjan van de Ven <[EMAIL PROTECTED]> wrote: On Mon, 2006-12-25 at 13:26 +0200, Robert Iakobashvili wrote: > > > Am I understanding you correctly that you want to spread the load of the > > networking IRQ roughly equally over 2 cpus (or cores or ..)? > > Yes, 4 cores. > > > If

Re: Network card IRQ balancing with Intel 5000 series chipsets

2006-12-25 Thread Arjan van de Ven
On Mon, 2006-12-25 at 13:26 +0200, Robert Iakobashvili wrote: > > > Am I understanding you correctly that you want to spread the load of the > > networking IRQ roughly equally over 2 cpus (or cores or ..)? > > Yes, 4 cores. > > > If so, that is very very suboptimal, especially for networking (si

Re: Network card IRQ balancing with Intel 5000 series chipsets

2006-12-25 Thread Robert Iakobashvili
Hi Arjan, On 12/25/06, Arjan van de Ven <[EMAIL PROTECTED]> wrote: On Sun, 2006-12-24 at 11:34 +0200, Robert Iakobashvili wrote: > Sorry for repeating, now in text mode. > > Is there a way to balance IRQs from a network card among Intel CPU cores > with Intel 5000 series chipset? > > We tried th

Re: Network card IRQ balancing with Intel 5000 series chipsets

2006-12-25 Thread Arjan van de Ven
On Sun, 2006-12-24 at 11:34 +0200, Robert Iakobashvili wrote: > Sorry for repeating, now in text mode. > > Is there a way to balance IRQs from a network card among Intel CPU cores > with Intel 5000 series chipset? > > We tried the Broadcom network card (lspci is below) both in MSI and > io-apic m