Re: kmalloc() allocation.

2000-10-31 Thread kernel
not after. The TLB is populated lazily, but most definately not the page tables. -ben - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/

Re: kmalloc() allocation.

2000-10-31 Thread kernel
lock_kernel(); pmd = pmd_alloc_kernel(dir, address); + unlock_kernel(); if (!pmd) return -ENOMEM; - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROT

Re: Dual XEON - >>SLOW<< on SMP

2000-11-02 Thread kernel
On Thu, 2 Nov 2000, Dr. David Gilbert wrote: > I've included /proc/pci, /proc/interrupt /proc/cpuinfo and the kernel > config (2.4.0-test10). > CONFIG_MTRR=y I bet it's the mtrr bugs. Take a look in /proc/mtrr. Someone suggested that if you disable the cachable settings in

Re: Linux-2.4.0-test10

2000-11-02 Thread kernel
wait thee at its end." hkp://keys.pgp.com > > Handle via comment channels only. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/

Re: Dual XEON - >>SLOW<< on SMP

2000-11-07 Thread kernel
watchdog doing its work. -ben - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/

Re: Installing kernel 2.4

2000-11-07 Thread kernel
On Tue, 7 Nov 2000, Jeff V. Merkey wrote: > So how come NetWare and NT can detect this at run time, and we have to > use a .config option to specifiy it? Come on guys. Then run a kernel compiled for i386 and suffer the poorer code quality that comes with not using newer instru

Re: Pentium 4 and 2.4/2.5

2000-11-08 Thread kernel
K6s. -ben - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/

Re: longjmp problem

2001-02-15 Thread kernel
On Mon, Feb 12, 2001 at 08:10:01AM +0100, Elena Labruna wrote: > I'm working with a C package written by other > on a linux machine with kernel version 2.2.14, > often in a calls of longjmp routine > the system crash with a SIGSEGV signal. > > Anyone can tell me if it can b

Re: [PATCH 2.4] Wireless Extension v17 (resend)

2005-02-08 Thread kernel
tc, etc... > Please *think* before saying this. It's not always the case. Firewire support in 2.6 kernel has been less than stellar, for one example. And yes, for many, solid 1394 support is a requirement for business. (And we've all seen the testing that has shown both sides (2.4, 2.6)

Re: [PATCH 2.4] Wireless Extension v17 (resend)

2005-02-08 Thread kernel
Message below meant for Marcelo! (sorry rest!) On Tue, 2005-02-08 at 20:09, kernel wrote: > On Tue, 2005-02-08 at 13:41, Marcelo Tosatti wrote: > > > There need to be some unique features in 2.6.X to force people > > > to upgrade, I guess... > > > > Faster, c

Re: [BK] upgrade will be needed

2005-02-15 Thread kernel
ist: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: [BK] upgrade will be needed

2005-02-15 Thread kernel
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: ide-scsi is deprecated for cd burning! Use ide-cd and give dev=/dev/hdX as device

2005-02-15 Thread kernel
On Tue, 2005-02-15 at 14:48, Kiniger, Karl (GE Healthcare) wrote: > I can confirm that. Creating a correct iso image from a CD is a > major pain w/o ide-scsi. Depending on what one has done before the iso > image is missing some data at the end most of the time. > (paired with lo

Re: [ANNOUNCE] hotplug-ng 001 release

2005-02-15 Thread kernel
gnition to after login) -and- 2) Proper identification of filesystem types. Would love to have an agreed upon by majority change that would change the mounting of filesystems (identifying FS TYPE) to be more accurate. regards, -fd - To unsubscribe from this list: send the line "unsubscribe li

Re: ide-scsi is deprecated for cd burning! Use ide-cd and give dev=/dev/hdX as device

2005-02-15 Thread kernel
ule. If it fails, it fails. But *if* not, you don't waste any more time. I only mention it because it's worked for me in the past where dd (and variants) has (have) not. -fd - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROT

Re: fdisk: What do plus signs after "Blocks" mean?

2005-07-14 Thread kernel
by dd'ing /dev/hdX, you get everything. Including "lost > sectors" if you dd it back to a bigger HD. > - > To unsubscribe from this list: send the line "unsubscribe linux-kernel" in > the body of a message to [EMAIL PROTECTED] > More majordomo info at http://v

Re: Dell Inspiron sensors (was: Re: Huge unreliability - does Linux have something to do with it?)

2005-02-06 Thread kernel
described and blow out the dust. -fd - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

2.6.11.4: ACPI, IRQ 11 disabled, Ethernet/USB stops working

2005-03-22 Thread kernel
Hello, I have a brand new Toshiba M45 S331 notebook and am experiencing (like some other guys who are trying to get Linux (with kernel 2.6.11.4) running on this machine) some problems... Here the probably kernel related part: Symptoms: First, if I boot with the option "acpi=off" US

Re: [ANNOUNCE] Interbench v0.20 - Interactivity benchmark

2005-07-15 Thread kernel
a valid benchmark too. What I'm interested in is what happens if you read > > >or write a DVD ISO image for example to your hard disk and what this does to > > >interactivity. This sort of reading or writing is not throttled in real > life. > > > > Of course it is. At least the read. It's limited to the speed needed to > either play (watch) the image or to burn it. Ok we'll call it hair splitting. We do both. You read the file and I copy it. Both happen in real life, and I plan to emulate both. Cheers, Con - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: [PATCH] i386: Selectable Frequency of the Timer Interrupt

2005-07-15 Thread kernel
ll skyrocket as your timing granularity decreases. Clearly 250HZ is not as good as 1000HZ for this, and I assume your midi example. Cheers, Con - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: Loopback mounting from a file with a partition table?

2005-01-21 Thread kernel
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: Regression: spi: core: avoid waking pump thread from spi_sync instead run teardown delayed

2019-01-15 Thread kernel
Hi John! > On 15.01.2019, at 15:26, Jon Hunter wrote: >> Looks as if there is something missing in spi_stop_queue that >> would wake the worker thread one last time without any delays >> and finish the hw shutdown immediately - it runs as a delayed >> task... >> >> One question: do you run any

Re: Regression: spi: core: avoid waking pump thread from spi_sync instead run teardown delayed

2019-01-18 Thread kernel
Hi Mark! Just got access to my computer back for the weekend ;) > On 15.01.2019, at 22:25, Mark Brown wrote: > > On Tue, Jan 15, 2019 at 09:58:55PM +0100, Martin Sperl wrote: > >> I may find some time over the weekend if no solution >> has been found until then. > > Thanks for volunteering

Re: Regression: spi: core: avoid waking pump thread from spi_sync instead run teardown delayed

2019-01-20 Thread kernel
Hi Mark! > On 18.01.2019, at 20:12, Mark Brown wrote: > > On Fri, Jan 18, 2019 at 06:11:31PM +0100, ker...@martin.sperl.org wrote: > >> Does something like this looks acceptable? > > Yes, it does! > >> SPI_CONTROLLER_MODE_EXCLUSIVE could replace the bus_lock_flag. >> I am also not sure of

[PATCH] sched: Remove redundant #ifdef

2015-05-14 Thread kernel
CONFIG_PREEMPT_RCU */ -#ifdef CONFIG_PREEMPT_RCU struct rcu_node *rcu_blocked_node; #endif /* #ifdef CONFIG_PREEMPT_RCU */ #ifdef CONFIG_TASKS_RCU -- 1.7.1 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majo

[PATCH v5 6/6] dt/bindings: bcm2835: Add binding documentation for auxiliar spi devices

2015-09-04 Thread kernel
ux_enable@0x7e215004 { + compatible = "bcrm,bcm2835-aux"; + reg = <0x7e215004 0x04>; +}; -- 1.7.10.4 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

[PATCH v5 3/6] dt/bindings: bcm2835: add binding documentation for bcm2835-aux

2015-09-04 Thread kernel
gt;; + ... +}; + +The name of the property can be device/driver specific. -- 1.7.10.4 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

[PATCH v5 0/6] bcm2835: auxiliar device support for spi

2015-09-04 Thread kernel
vers/soc/bcm/bcm2835-aux.c create mode 100644 drivers/spi/spi-bcm2835aux.c create mode 100644 include/linux/soc/bcm/bcm2835-aux.h -- 1.7.10.4 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.or

[PATCH v5 4/6] spi: bcm2835: new driver implementing auxiliar spi1/spi2 on the bcm2835 soc

2015-09-04 Thread kernel
; + + return 0; +} + +static const struct of_device_id bcm2835aux_spi_match[] = { + { .compatible = "brcm,bcm2835-aux-spi", }, + {} +}; +MODULE_DEVICE_TABLE(of, bcm2835aux_spi_match); + +static struct platform_driver bcm2835aux_spi_driver = { + .driver =

[PATCH 1/6] soc: bcm2835: auxiliar devices enable infrastructure

2015-09-04 Thread kernel
vers/soc/mediatek/Kconfig" source "drivers/soc/qcom/Kconfig" source "drivers/soc/sunxi/Kconfig" diff --git a/drivers/soc/Makefile b/drivers/soc/Makefile index 7dc7c0d..c5744e1 100644 --- a/drivers/soc/Makefile +++ b/drivers/soc/Makefile @@ -2,6 +2,7 @@ # Makefile for the

[PATCH v5 5/6] ARM: bcm2835: enable building of spi-bcm2835aux driver in default config

2015-09-04 Thread kernel
: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

[PATCH v5 2/6] ARM: bcm2835: add DT for the bcm2835 auxiliar devices

2015-09-04 Thread kernel
interrupts = <1 29>; + clocks = <_spi>; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + }; }; clocks { -- 1.7.10.4 -- To unsubscribe f

[PATCH v4 4/5] spi: bcm2835: new driver implementing auxiliar spi1/spi2 on the bcm2835 soc

2015-08-24 Thread kernel
tatic const struct of_device_id bcm2835aux_spi_match[] = { + { .compatible = "brcm,bcm2835-aux-spi", }, + {} +}; +MODULE_DEVICE_TABLE(of, bcm2835aux_spi_match); + +static struct platform_driver bcm2835aux_spi_driver = { + .driver = { + .name = DR

[PATCH v4 5/5] dt/bindings: bcm2835: Add binding documentation for auxiliar spi devices

2015-08-24 Thread kernel
ires the GPIOs to be set up with the +correct ALT-functions. + +For spi1 the following pins need to be set as: +* ALT4: 19, 20, 21 (MISO, MOSI, SCK) + +For spi2 the following pins need to be set as: +* ALT4: 40, 41, 42 (MISO, MOSI, SCK) + +CS-GPIOS need to get set as output - typically: +* spi1: 1

[PATCH v4 2/5] ARM: bcm2835: add DT for the bcm2835 auxiliar devices

2015-08-24 Thread kernel
interrupts = <1 29>; + clocks = <_spi>; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + }; }; clocks { -- 1.7.10.4 -- To unsubscribe f

[PATCH v4 1/5] soc: bcm2835: auxiliar devices enable infrastructure

2015-08-24 Thread kernel
t; diff --git a/drivers/soc/Makefile b/drivers/soc/Makefile index 7dc7c0d..c5744e1 100644 --- a/drivers/soc/Makefile +++ b/drivers/soc/Makefile @@ -2,6 +2,7 @@ # Makefile for the Linux Kernel SOC specific device drivers. # +obj-$(CONFIG_ARCH_BCM) += bcm/ obj-$(CONFIG_ARCH

[PATCH v4 3/5] dt/bindings: bcm2835: add binding documentation for bcm2835-aux

2015-08-24 Thread kernel
me of the property can be device/driver specific. -- 1.7.10.4 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

[PATCH v4 0/5] bcm2835: auxiliar device support for spi

2015-08-24 Thread kernel
0644 drivers/soc/bcm/Kconfig create mode 100644 drivers/soc/bcm/Makefile create mode 100644 drivers/soc/bcm/bcm2835-aux.c create mode 100644 drivers/spi/spi-bcm2835aux.c create mode 100644 include/linux/soc/bcm/bcm2835-aux.h -- 1.7.10.4 -- To unsubscribe from this list: send the line "

[PATCH] fsnotify: Remove obsolete documentation

2015-06-01 Thread kernel
when a mark is being destroyed for some reason. The group -- 1.7.1 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FA

Re: [PATCH 2/3] i2c: bcm2835: Add support for combined write-read transfer

2016-09-20 Thread kernel
> On 20.09.2016, at 12:56, Noralf Trønnes wrote: > > > Den 20.09.2016 12:15, skrev Martin Sperl: >> >> >> On 20.09.2016 10:41, Noralf Trønnes wrote: >>> >>> Den 20.09.2016 09:19, skrev Martin Sperl: Hi Noralf! On 19.09.2016 17:26, Noralf Trønnes wrote: > Some SMBus

[PATCH 2/4] memory: bcm2835: add bcm2835-memory controller

2016-05-12 Thread kernel
From: Martin Sperl Add a memory-controller driver for the bcm2835 SOC. This is mostly needed to claim the SDRAM clock so that this (and the corresponding parent pll) never gets disabled. It also exposes the sdram registers via debugfs. Signed-off-by: Martin Sperl --- drivers/memory/Kconfig

[PATCH 3/4] ARM: dts: bcm2835: add the bcm2835-sdram-controller to the dt

2016-05-12 Thread kernel
From: Martin Sperl Add the bcm2835 sdram controller to the device tree. Signed-off-by: Martin Sperl --- arch/arm/boot/dts/bcm283x.dtsi | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/boot/dts/bcm283x.dtsi b/arch/arm/boot/dts/bcm283x.dtsi index 8aaf193..9db9d97 100644 ---

[PATCH 1/4] dt: bindings: add bcm2835-memory-controller documentation

2016-05-12 Thread kernel
From: Martin Sperl Add memory controller dt-binding documentation for the bcm2835 soc. Signed-off-by: Martin Sperl --- .../bindings/memory-controllers/brcm,bcm2835-sdram.txt | 16 1 file changed, 16 insertions(+) create mode 100644

[PATCH 0/4] add minimal bcm2835-sdram driver

2016-05-12 Thread kernel
From: Martin Sperl As the sdram clock is a critical clock to the system the minimal bcm2835-sdram driver claims (and enables) this clock and also exposes the corresponding sdram registers via debugfs. Martin Sperl (4): dt: bindings: add bcm2835-memory-controller documentation memory:

[PATCH 4/4] ARM: bcm2835_defconfig: add bcm2835-sdram controller

2016-05-12 Thread kernel
From: Martin Sperl Add the bcm2835-sdram controller driver to the default config. (as the driver is enabled by default vi KConfig, we only need to enable CONFIG_MEMORY) Signed-off-by: Martin Sperl --- arch/arm/configs/bcm2835_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git

Re: [PATCH 1/2] staging: android: checkpatch.pl fixes

2012-10-24 Thread kernel kernel
Events Cluster, 3B1, UCD CASL, 8 Belfield Business Park, Dublin 4, Ireland. -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http

screen failing to display after resume from hibernate

2013-03-08 Thread kernel kernel
Machine resumes and fails to power on the screen. Trace: Mar 7 23:35:09 lenovo kernel: [33562.808041] [drm:intel_lvds_disable] *ERROR* timed out waiting for panel to power off Mar 7 23:35:09 lenovo kernel: [33562.808052] [ cut here ] Mar 7 23:35:09 lenovo kernel

Fwd: Xonar DG pci sound card driver incomplete

2013-02-11 Thread kernel kernel
. -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

screen failing to display after resume from hibernate

2013-03-08 Thread kernel kernel
Machine resumes and fails to power on the screen. Trace: Mar 7 23:35:09 lenovo kernel: [33562.808041] [drm:intel_lvds_disable] *ERROR* timed out waiting for panel to power off Mar 7 23:35:09 lenovo kernel: [33562.808052] [ cut here ] Mar 7 23:35:09 lenovo kernel

Re: [PATCH 1/2] staging: android: checkpatch.pl fixes

2012-10-24 Thread kernel kernel
nce and Extreme Events Cluster, 3B1, UCD CASL, 8 Belfield Business Park, Dublin 4, Ireland. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Fwd: Xonar DG pci sound card driver incomplete

2013-02-11 Thread kernel kernel
. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Given an image, how can show its config?

2000-09-20 Thread linux-kernel
Dear all, I would like to upgrade my kernel which is bundled with Red Hat. However, I don't want to lose modules/functions it has complied. How can I do it? Is there any command to check the current config and how can I check the modules it has as well? Many thanks!!! Best regards, Boris

Kernel 2.4.2 - kernel BUG at apic.c:220!

2001-02-23 Thread pf-kernel
When running 2.4.2 on a pentium 4, I get the following during boot: (any typos are due to me typing this in manually, off of what I see on the monitor connected to the P4. I've made sure the addresses are correct, at least... note that this happens with noapic passed as an option to the kernel

Re: Kernel 2.4.2 - kernel BUG at apic.c:220!

2001-02-24 Thread pf-kernel
On Sat, 24 Feb 2001, Manfred Spraul wrote: kernel BUG at apic.c:220! From apic.c: /* * Double-check wether this APIC is really registered. */ if (!test_bit(GET_APIC_ID(apic_read(APIC_ID)), phys_cpu_present_map)) BUG(); Really odd

2.4.x on netpliance i-opener

2001-03-17 Thread Kernel Jake
tepien has indicated to me in e-mail that his problem went away on a non-i-opener motherboard with a VIA chipset when he upgraded to 2.4.0. There is a long history of this issue. There was a patch posted to the linux-kernel mailing list that allegedly solved the problem: http://www.uwsg.indiana.edu

Re: 2.4.0-testX fails to compile on my Athlon

2001-01-01 Thread wish-kernel
. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/

newbie, 2.4.0-test11-pre4 no compile when CONFIG_AGP=y

2000-11-14 Thread linux-kernel
I'll preface this saying I'm a kernel compile newbie and I could be making the most basic of mistakes. My problem is that I have an Asus CUSL2 board and am attempting to use the Intel i815-based on-board video. I'm on Redhat 7.0, which works great with the stock 2.2.16-22 kernel. I am able

loopback mount broken in 2.4.2-pre4

2001-02-20 Thread pf-kernel
). --- Unsolicited advertisments to this address are not welcome. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

2.6.20.2: kernel BUG at fs/nfs/write.c:505!

2007-03-12 Thread Stresslinux Kernel
Hello List, running the following command /sbin/grub-install --root-directory=/mnt --no-floppy /dev/sda from a nfsroot system with kernel 2.6.20.2 (x86_64) results in: [ cut here ] kernel BUG at fs/nfs/write.c:505! invalid opcode: [1] SMP CPU 0 Modules linked

[TOMOYO #5 01/18] Add struct vfsmount to struct task_struct.

2007-11-16 Thread penguin-kernel
*last_vfsmount; }; /* -- - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

[TOMOYO #5 03/18] Replace VFS with wrapper functions.

2007-11-16 Thread penguin-kernel
, nd.path.mnt, +mode, 0); mnt_drop_write(nd.path.mnt); if (err) goto out_mknod_dput; -- - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More

[TOMOYO #5 00/18] TOMOYO Linux - MAC based on process invocation history.

2007-11-16 Thread penguin-kernel
struct vfsmount to ... patches or our patches marked as [01/18], [02/18], [03/18] into mainline kernel so that AppArmor and TOMOYO Linux can safely access struct vfsmount from LSM. * Avoid rcu_read_lock() by inserting mb() when appending to list. I heard from an embedded system developer

[TOMOYO #5 16/18] Conditional permission support.

2007-11-16 Thread penguin-kernel
unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

[TOMOYO #5 17/18] Kconfig and Makefile

2007-11-16 Thread penguin-kernel
:44.0 +0900 @@ -0,0 +1,2 @@ +obj-$(CONFIG_SECURITY_TOMOYO) += tomoyo.o domain.o common.o realpath.o audit.o file.o exec.o net.o mount.o signal.o capability.o condition.o +EXTRA_CFLAGS += -Isecurity/tomoyo/include -- - To unsubscribe from this list: send the line unsubscribe linux-kernel

[TOMOYO #5 13/18] Signal control functions.

2007-11-16 Thread penguin-kernel
tmy_add_signal_entry(sig, domainname + 1, domain, + cond, is_delete); + + return -EINVAL; +} -- - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org

[TOMOYO #5 09/18] File access control functions.

2007-11-16 Thread penguin-kernel
, +domain, NULL, 0); + +out: ; + tmy_free(buf1); + tmy_free(buf2); + if (!is_enforce) + error = 0; + return error; +} -- - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo

[TOMOYO #5 07/18] Domain transition functions.

2007-11-16 Thread penguin-kernel
Every process belongs to a domain in TOMOYO Linux. Domain transition occurs when execve(2) is called and the domain is expressed as 'process invocation history', such as 'kernel /sbin/init /etc/init.d/rc'. Domain information is stored in task_struct-security. Signed-off-by: Kentaro Takeda [EMAIL

[TOMOYO #5 08/18] Auditing interface.

2007-11-16 Thread penguin-kernel
TOMOYO Linux uses /sys/kernel/security/tomoyo/ interface for reporting access logs in domain policy format. One is 'grant_log', used for auditing accesses which are granted in the TOMOYO Linux policy. The other is 'reject_log', used for auditing accesses which are not granted in the TOMOYO Linux

[TOMOYO #5 02/18] Add wrapper functions for VFS helper functions.

2007-11-16 Thread penguin-kernel
inline void put_write_access(struct inode * inode) -- - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

[TOMOYO #5 04/18] Data structures and prototype defitions.

2007-11-16 Thread penguin-kernel
) +#define TMY_ALLOW_PIVOT_ROOTallow_pivot_root +#define TMY_ALLOW_PIVOT_ROOT_LEN(sizeof(TMY_ALLOW_PIVOT_ROOT) - 1) + +#define TMY_USE_PROFILE use_profile + +#define TMY_ROOT_NAME kernel +#define TMY_ROOT_NAME_LEN (sizeof(TMY_ROOT_NAME) - 1) + +#define TMY_ALLOW_ARGV0

[TOMOYO #5 10/18] argv0 check functions.

2007-11-16 Thread penguin-kernel
= strchr(data, ' '); + + if (!argv0) + return -EINVAL; + + *argv0++ = '\0'; + + return tmy_add_argv0_entry(data, argv0, domain, cond, + is_delete); +} -- - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body

[TOMOYO #5 11/18] Network access control functions.

2007-11-16 Thread penguin-kernel
: +TMY_NETWORK_ACL_RAW_CONNECT, +(const u32 *) address, ntohs(port)); +} -- - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read

[TOMOYO #5 12/18] Namespace manipulation control functions.

2007-11-16 Thread penguin-kernel
unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

[TOMOYO #5 18/18] LSM expansion for TOMOYO Linux.

2007-11-16 Thread penguin-kernel
/security.h | 74 +++ kernel/signal.c | 17 ++ net/core/datagram.c | 22 + net/socket.c |7 +++- security/dummy.c | 32 ++-- security/security.c | 25 ++- 6

[TOMOYO #5 14/18] Capability access control functions.

2007-11-16 Thread penguin-kernel
tmy_add_capability_acl(capability, domain, + cond, is_delete); + } + return -EINVAL; +} -- - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at http

[TOMOYO #5 15/18] LSM adapter functions.

2007-11-16 Thread penguin-kernel
]; + int addr_len; + int error; + + /* I don't check if called by kernel process. */ + if (segment_eq(get_fs(), KERNEL_DS)) + return 0; + + if (sock-type != SOCK_STREAM) + return 0; + if (sock-sk-sk_family != PF_INET sock-sk-sk_family != PF_INET6

[TOMOYO #5 05/18] Memory and pathname management functions.

2007-11-16 Thread penguin-kernel
END */ + + if (entry) { + kfree(p); + kmem_cache_free(tmy_cachep, entry); + } else + printk(KERN_INFO BUG: tmy_free() with invalid pointer.\n); + +} -- - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body

increased number of cycles

2007-11-17 Thread kernel coder
part of kernel . But for last 4 days the consumed cycles have suddenly increased to around 35 cycles . I'm using RDTSC instruction to profile the code.There is no change in code and the kernel version is also the same .I am assuming that there must be something wrong with hardware. Please guide

Re: [patch 1/2] [RFC] Simple tamper-proof device filesystem.

2007-12-16 Thread penguin-kernel
remain tamper-proof. Regards. -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

profile code added to netif_receive_skb function

2007-11-25 Thread kernel coder
hi, I have added some code to netif_receive_skb function.As linux kernel is multhreaded , so there is no gaurantee than mine code is completely executed without being disturbed by any other process .Timer interrupt handler is an example of code which might interrupt execution of mine code. I

[patch 02/19] free swap space on swap-in/activation

2008-01-02 Thread linux-kernel
*mapping, pgoff_t start, unsigned nr_pages); unsigned pagevec_lookup_tag(struct pagevec *pvec, -- All Rights Reversed -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at http

[patch 01/19] move isolate_lru_page() to vmscan.c

2008-01-02 Thread linux-kernel
, pagelist); + } + } } static struct page *new_node_page(struct page *page, unsigned long node, int **x) -- All Rights Reversed -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at http

[patch 03/19] define page_file_cache() function

2008-01-02 Thread linux-kernel
| 1 PG_buddy bad_page(page); -- All Rights Reversed -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read

[patch 04/19] debugging checks for page_file_cache()

2008-01-02 Thread linux-kernel
= shmem_writepage, .set_page_dirty = __set_page_dirty_no_writeback, #ifdef CONFIG_TMPFS -- All Rights Reversed -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html

[patch 05/19] Use an indexed array for LRU variables

2008-01-02 Thread linux-kernel
; if (scan_global_lru(sc)) { /* * Add one to nr_to_scan just to make sure that the kernel * will slowly sift through the active list. */ - zone-nr_scan_active += - (zone_page_state(zone

[patch 09/19] add newly swapped in pages to the inactive list

2008-01-02 Thread linux-kernel
the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

[patch 08/19] SEQ replacement for anonymous pages

2008-01-02 Thread linux-kernel
this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

[patch 07/19] split anon file LRUs for memcontrol code

2008-01-02 Thread linux-kernel
unsigned long shrink_zone(int pri get_scan_ratio(zone, sc, percent); - if (scan_global_lru(sc)) { - /* -* Add one to nr_to_scan just to make sure that the kernel -* will slowly sift through the active list

[patch 12/19] scan noreclaim list for reclaimable pages

2008-01-02 Thread linux-kernel
node *node) +{ + return sysdev_create_file(node-sysdev, attr_scan_noreclaim_pages); +} + +void scan_noreclaim_unregister_node(struct node *node) +{ + sysdev_remove_file(node-sysdev, attr_scan_noreclaim_pages); +} + + #endif Index: linux-2.6.24-rc6-mm1/kernel/sysctl.c

[patch 10/19] No Reclaim LRU Infrastructure

2008-01-02 Thread linux-kernel
. if (__isolate_lru_page(page, mode, file) == 0) { list_move(page-lru, dst); nr_taken++; -- All Rights Reversed -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More

[patch 11/19] Non-reclaimable page statistics

2008-01-02 Thread linux-kernel
K(i.totalhigh), K(i.freehigh), -- All Rights Reversed -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http

[patch 00/19] VM pageout scalability improvements

2008-01-02 Thread linux-kernel
with split file/anon lists. The exception is Scan noreclaim list for reclaimable pages, which should not be needed but could be a useful debugging tool. -- All Rights Reversed -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED

[patch 14/19] SHM_LOCKED pages are nonreclaimable

2008-01-02 Thread linux-kernel
the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

[patch 13/19] ramfs pages are non-reclaimable

2008-01-02 Thread linux-kernel
=THIS_MODULE, + .open =brd_open, .ioctl =brd_ioctl, #ifdef CONFIG_BLK_DEV_XIP .direct_access =brd_direct_access, -- All Rights Reversed -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message

[patch 18/19] account mlocked pages

2008-01-02 Thread linux-kernel
nr_anon_pages, nr_mapped, nr_file_pages, -- All Rights Reversed -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http

[patch 17/19] handle mlocked pages during map/unmap and truncate

2008-01-02 Thread linux-kernel
)) goto failed; + clear_page_mlock(page); BUG_ON(PagePrivate(page)); __remove_from_page_cache(page); write_unlock_irq(mapping-tree_lock); -- All Rights Reversed -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message

[patch 16/19] mlock vma pages under mmap_sem held for read

2008-01-02 Thread linux-kernel
/* CONFIG_NORECLAIM_MLOCK */ -- All Rights Reversed -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

[patch 15/19] non-reclaimable mlocked pages

2008-01-02 Thread linux-kernel
work_struct *dummy) { lru_add_drain(); -- All Rights Reversed -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org

[patch 19/19] cull non-reclaimable anon pages from the LRU at fault time

2008-01-02 Thread linux-kernel
+ lru_cache_add_anon(new_page); swap_readpage(NULL, new_page); return new_page; } -- All Rights Reversed -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message

Oops on 2.6.24.2 rmmod fan rmmod 8250_pnp

2008-02-14 Thread linux-kernel
Hi, Just trying out 2.6.24.2 and in unloading some modules which I don't need managed to generate kernel oopsii. My apologies if these had been reported, I did a search and didn't see any other reports. rmmod fan gives: Feb 14 19:02:22 nike kernel: [ 150.012343] WARNING: at fs/proc/generic.c

<    1   2   3   4   5   6   7   8   9   10   >