| From | Subject | Date |
|---|---|---|
| Kevin Winchester | linux-next: WARNING: at kernel/lockdep.c:2680 check_flags+0x...
In next-20080530 and next-20080602 (and possibly earlier - I can't
remember the linux-next tree before that I tried) I get the following:
[ 12.885153] ------------[ cut here ]------------
[ 12.885203] WARNING: at kernel/lockdep.c:2680 check_flags+0x98/0x151()
[ 12.885248] Pid: 4, comm: watchdog/0 Not tainted
2.6.26-rc4-next-20080602 #13
[ 12.885292]
[ 12.885293] Call Trace:
[ 12.885364] [<ffffffff8022bbd5>] warn_on_slowpath+0x58/0x8a
[ 12.885410] [<ffffffff804c9cfe>...
| Jun 2, 7:47 pm 2008 |
| Tim Bird | [PATCH] console - Add configurable support for console chars...
With CONSOLE_TRANSLATIONS turned off, this saves about 6K
on my kernel configured for an ARM development board (OMAP
5912 OSK). In embedded products I'm familiar with,
console translations are not needed.
This was taken from the Linux-tiny project and updated slightly
for 2.6.25.
drivers/char/consolemap.c | 81 ++++++++++++++++++++++++++++++++++++++++++++++
drivers/char/vt.c | 4 ++
init/Kconfig | 7 +++
3 files changed, 92 insertions(+)
Signed-off-by: Tim ...
| Jun 2, 6:37 pm 2008 |
| Hideo AOKI | Kernel marker has no performance impact on ia64.
Hello,
I evaluated overhead of kernel marker using linux-2.6-sched-fixes
git tree, which includes several markers for LTTng, using an ia64
server.
While the immediate trace mark feature isn't implemented on ia64,
there is no major performance regression. So, I think that we
don't have any issues to propose merging marker point patches
into Linus's tree from the viewpoint of performance impact.
I prepared two kernels to evaluate. The first one was compiled
without CONFIG_MARKERS. The second ...
| Jun 2, 6:12 pm 2008 |
| Peter Zijlstra | Re: Kernel marker has no performance impact on ia64.
Performance is atm the least of the concerns regarding this work.
I'm still convinced markers are too ugly to live.
I also worry greatly about the fact that its too easy to expose too much
to user-space. There are no clear rules and the free form marker format
just begs for an inconsistent mess to arise.
IMHO the current free-form trace_mark() should be removed from the tree
- its great for ad-hoc debugging but its a disaster waiting to happen
for anything else. Anybody doing ad-hoc debugging...
| Jun 2, 6:32 pm 2008 |
| Mathieu Desnoyers | Re: Kernel marker has no performance impact on ia64.
Maybe we could settle for an intermediate solution : I agree with you
that defining the trace points in headers, like you did for the
scheduler, makes the code much cleaner and makes things much easier to
maintain afterward. However, having the trace_mark mechanism underneath
helps a lot in plugging a generic tracer (actually, if we can settle the
marker issue, I've got a kernel tracer, LTTng, that I've been waiting
for quite a while to push to mainline that I would like to post someday).
So I wo...
| Jun 2, 7:21 pm 2008 |
| Mark Lord | hdparm-8.7 is released
Version 8.7 of hdparm is now available from Sourceforge.net.
This version includes a number of small fixes and the like,
plus these new features:
-- Uses sysfs to get device offset / size values,
so it will continue to work with 2TB (and larger) drives.
It falls back to the ioctl() interfaces when sysfs is unavailable.
-- The -Q (queue_depth) flag now works with sysfs.
This can be useful for easy tuning of SATA NCQ queue_depths, among others.
-- New --fibmap flag, to dump out ...
| Jun 2, 5:56 pm 2008 |
| Max Krasnyansky | [PATCH] sched: CPU hotplug events must not destroy scheduler...
This is an updated/split up version of the patch I sent earlier.
Currently sched domains created by the cpusets are completely destroyed
during CPU hotplug event handling. For each CPU hotplug event scheduler
attaches all CPUs to the NULL domain and then puts them all into a single
domain thereby destroying domains created by the cpusets.
The solution is simple, when cpusets are enabled scheduler should not
create the default domain and instead let cpusets rebuild the domains based
on the current...
| Jun 2, 5:08 pm 2008 |
| Max Krasnyansky | [PATCH] sched: Fix memory leak in the cpu hotplug handing lo...
This is an updated/split up version of the patch I sent earlier.
Basically the issue is that we are leaking doms_cur on cpu hotplug events.
doms_cur is allocated in the arch_init_sched_domains() which is called for
every hotplug event. So we just keep reallocating doms_cur without freeing it.
This patch introduces free_sched_domains() function that cleans things up.
Note that doms_cur can also come from cpusets via partition_sched_domains().
That path is already handled correctly.
This just a b...
| Jun 2, 5:08 pm 2008 |
| Bartlomiej Zolnierki... | [PATCH 1/9] ide: fix host drivers missing hwif->chipset i...
ide_find_port() now depends on ->chipset being set for occupied ide_hwifs[]
slots so all host drivers have to initialize hwif->chipset properly.
This patch fixes a regression on hosts with > 1 port or with a single port
but no devices attached to it for an affected host drivers.
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
---
drivers/ide/arm/bast-ide.c | 1 +
drivers/ide/arm/ide_arm.c | 1 +
drivers/ide/ide-pnp.c | 1 +
drivers/ide/id...
| Jun 2, 4:22 pm 2008 |
| Bartlomiej Zolnierki... | [PATCH 9/9] ide-cs: use struct ide_port_info
Convert the driver to use struct ide_port_info.
There should be no functional changes caused by this patch.
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
---
drivers/ide/legacy/ide-cs.c | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
Index: b/drivers/ide/legacy/ide-cs.c
===================================================================
--- a/drivers/ide/legacy/ide-cs.c
+++ b/drivers/ide/legacy/ide-cs.c
@@ -150,6 +150,11 @@ static const struct ide_port...
| Jun 2, 4:24 pm 2008 |
| Bartlomiej Zolnierki... | [PATCH 8/9] ide_4drives: use struct ide_port_info
Convert the driver to use struct ide_port_info - as a nice side-effect
this fixes hwif->channel initialization.
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
---
drivers/ide/legacy/ide-4drives.c | 27 ++++++++++++++++++---------
1 file changed, 18 insertions(+), 9 deletions(-)
Index: b/drivers/ide/legacy/ide-4drives.c
===================================================================
--- a/drivers/ide/legacy/ide-4drives.c
+++ b/drivers/ide/legacy/ide-4drives.c
@@ -...
| Jun 2, 4:23 pm 2008 |
| Bartlomiej Zolnierki... | [PATCH 7/9] au1xxx-ide: don't use hwif->hwif_data
* Use &auide_hwif directly instead of using hwif->hwif_data.
While at it:
* No need to initialize hwif->{select,config}_data.
There should be no functional changes caused by this patch.
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
---
drivers/ide/mips/au1xxx-ide.c | 11 +++--------
1 file changed, 3 insertions(+), 8 deletions(-)
Index: b/drivers/ide/mips/au1xxx-ide.c
===================================================================
--- a/drivers/ide/...
| Jun 2, 4:23 pm 2008 |
| Bartlomiej Zolnierki... | [PATCH 6/9] delkin_cb: add missing __init/__exit tags
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
---
drivers/ide/pci/delkin_cb.c | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
Index: b/drivers/ide/pci/delkin_cb.c
===================================================================
--- a/drivers/ide/pci/delkin_cb.c
+++ b/drivers/ide/pci/delkin_cb.c
@@ -134,14 +134,12 @@ static struct pci_driver driver = {
.remove = delkin_cb_remove,
};
-static int
-delkin_cb_init (void)
+static int __init delkin_cb_...
| Jun 2, 4:23 pm 2008 |
| Bartlomiej Zolnierki... | [PATCH 5/9] delkin_cb: add warm-plug support
Don't fail the probe if there are no devices attached to the controller.
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
---
drivers/ide/pci/delkin_cb.c | 4 ----
1 file changed, 4 deletions(-)
Index: b/drivers/ide/pci/delkin_cb.c
===================================================================
--- a/drivers/ide/pci/delkin_cb.c
+++ b/drivers/ide/pci/delkin_cb.c
@@ -99,15 +99,11 @@ delkin_cb_probe (struct pci_dev *dev, co
ide_device_add(idx, &delkin_cb_port_i...
| Jun 2, 4:23 pm 2008 |
| Bartlomiej Zolnierki... | [PATCH 4/9] delkin_cb: use struct ide_port_info
Convert the driver to use struct ide_port_info - as a nice side-effect
this fixes racy setup of ->io_32bit/unmask settings (after ide_device_add()
call device can be already in use).
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
---
drivers/ide/pci/delkin_cb.c | 15 +++++++--------
1 file changed, 7 insertions(+), 8 deletions(-)
Index: b/drivers/ide/pci/delkin_cb.c
===================================================================
--- a/drivers/ide/pci/delkin_cb.c
...
| Jun 2, 4:23 pm 2008 |
| Bartlomiej Zolnierki... | [PATCH 3/9] delkin_cb: set proper hwif->gendev.parent value
hwif->dev was set too late (after ide_device_add() call)
so hwif->gendev.parent was not initialized properly.
Fix it by setting hw.dev and letting ide_init_port_hw()
do the rest.
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
---
drivers/ide/pci/delkin_cb.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
Index: b/drivers/ide/pci/delkin_cb.c
===================================================================
--- a/drivers/ide/pci/delkin_cb.c
+++ b/drive...
| Jun 2, 4:23 pm 2008 |
| Bartlomiej Zolnierki... | [PATCH 2/9] ide: set hwif->dev in ide_init_port_hw()
* Add 'parent' field to hw_regs_t for optional parent device pointer (needed
by macio PMAC IDE controllers) and set hwif->dev in ide_init_port_hw().
* Update au1xxx-ide.c, sgiioc4.c, pmac.c and setup-pci.c accordingly.
There should be no functional changes caused by this patch.
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
---
drivers/ide/ide.c | 3 ++-
drivers/ide/mips/au1xxx-ide.c | 2 --
drivers/ide/pci/sgiioc4.c | 2 --
drivers/ide/ppc/...
| Jun 2, 4:23 pm 2008 |
| Daniel J Blueman | unplug oops from dvb_frontend_init...
When inadvertently hot-unplugging a WT-220U USB DVB-T receiver with
2.6.24, I was met with an oops [1]. The problem is relevant to
2.6.25/26-rc also.
dvb_frontend_init() was called either from re-creation of the kdvb-fe0
thread - seems unlikely, or someone called
dvb_frontend_reinitialise(), causing this path in the thread - really
unlikely, as I can't find any call-site for it.
Either way, quite a number of drivers call dvb_usb_generic_rw() [2]
without checking the validity of the relevant memb...
| Jun 2, 4:05 pm 2008 |
| J. Bruce Fields | [PATCH] Documentation: mv DMA-* to separate DMA/ subdirectory
From: J. Bruce Fields <bfields@citi.umich.edu>
Every now and then as I'm looking for something in Documentation/ I get
annoyed at how cluttered that directory is, and go look for a few files
that could be grouped into a subdirectory. This seemed like one
candidate, though a lot of referenes to DMA-mapping.txt require fixing.
Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
---
A Documentation/arch directory would take out another dozen entries or
so, but I haven't had the e...
| Jun 2, 3:54 pm 2008 |
| Luiz Fernando N. Cap... | 2.6.26-rc4-git4: tty: lockdep warning
Hi Alan,
I'm getting the following lockdep warning when I log on the system
and setfont is called.
Seems tty related. The kernel is a 2.6.26-rc4-git4 vanilla.
"""
=======================================================
[ INFO: possible circular locking dependency detected ]
2.6.26-0.rc4.git4.1mdv #1
-------------------------------------------------------
setfont/3775 is trying to acquire lock:
(tasklist_lock){..--}, at: [<c0127315>] kill_pgrp+0x16/0x39
but task is already hold...
| Jun 2, 3:43 pm 2008 |
| Anton Sidorov | kernel does not boot in SMP mode if I press any button on a ...
1. kernel does not boot in SMP mode if I press any button on a keyboard
before kernel loads (i.e. grub menu)
2. This is Dell Vostro 400 Core 2 Quad Q6600 with the latest bios
1.0.13. Ubuntu kernel 2.6.24-16-generic boots with ipqpoll. Gentoo
2.6.24-gentoo-r8 and vanilla 2.6.25.4 do not boot in SMP mode if I press
any button on a keyboard before kernel loads (i.e. grub menu). I tried
noacpi, noapic, acpi=off, irqpoll still does not boot.
It boots if I add nosmp but the computer is very slow.
3. ...
| Jun 2, 4:07 pm 2008 |
| Daniel J Blueman | Re: Future Linux on Bistable Storage
[snip]
Perhaps one of the more key stepping stones here is execution in place
(XIP) support, which at present works for a particular combination of
embedded architecture, block device and filesystem. Maybe that's the
wrong way of looking at it, and we should consider XIP-for-ramdisk
(rather than ROM/flash).
Anyway, from a mmap() perspective, we'd be logically merging the
filesystem and pagecache layers and losing a layer of physical
indirection.
--
Daniel J Blueman
--
| Jun 2, 2:28 pm 2008 |
| Ben Collins | [PATCH] FIx crash in mmc_block on 64-bit
Fairly simple. "dev_use" was being allocated as a zero length array
because of bad math on 64-bit systems causing a crash in
find_first_zero_bit(). One-liner follows:
diff --git a/drivers/mmc/card/block.c b/drivers/mmc/card/block.c
index 91ded3e..f9ad960 100644
--- a/drivers/mmc/card/block.c
+++ b/drivers/mmc/card/block.c
@@ -46,7 +46,7 @@
#define MMC_SHIFT 3
#define MMC_NUM_MINORS (256 >> MMC_SHIFT)
-static unsigned long dev_use[MMC_NUM_MINORS/(8*sizeof(unsigned long))];
+static DEC...
| Jun 2, 1:39 pm 2008 |
| Thomas Meyer | ck804rom: fix driver_data in probe table
Hello,
On next-20080602:
the ck804rom driver seems to work for me now on an nvidia board.
But i have a question regarding the log entries created by the driver.
Is this long list supposed to be normal?
See dmesg output:
[ snip ]
[ 28.385244] ck804xrom ck804xrom_init_one(): Unable to register resource 0x00000000ff000000-0x00000000ffffffff - kernel bug?
[ 28.424244] CFI: Found no ck804xrom @ffc00000 device at location zero
[ 28.439244] JEDEC: Found no ck804xrom @ffc00000 device at loc...
| Jun 2, 1:54 pm 2008 |
| Anton Vorontsov | [PATCH 0/8 v4] mpc83xx_wdt rework, support for mpc8610 and m...
Hi all,
No comments on the previous version for two weeks... resending once
again.
Changes since v3:
- None. Simply resending, plus adding Andrew Morton and linux-kernel
to Cc, since I'm constantly getting bounces from Wim Van Sebroeck's
email:
- - - -
<wim@iguana.be>:
213.249.96.99 does not like recipient.
Remote host said: 450 Client host rejected: cannot find your hostname, [85.21.88.2]
Giving up on 213.249.96.99.
I'm not going to try again; this message has been...
| Jun 2, 1:37 pm 2008 |
| Anton Vorontsov | [PATCH 8/8] [POWERPC] 86xx: mpc8610_hpcd: add watchdog node
Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
---
arch/powerpc/boot/dts/mpc8610_hpcd.dts | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/arch/powerpc/boot/dts/mpc8610_hpcd.dts b/arch/powerpc/boot/dts/mpc8610_hpcd.dts
index fa9c297..bb0395b 100644
--- a/arch/powerpc/boot/dts/mpc8610_hpcd.dts
+++ b/arch/powerpc/boot/dts/mpc8610_hpcd.dts
@@ -204,6 +204,11 @@
fsl,has-rstcr;
};
+ wdt@e4000 {
+ compatible = "fsl,mpc8610-wdt";
+ reg = &...
| Jun 2, 1:38 pm 2008 |
| Anton Vorontsov | [PATCH 7/8] [POWERPC] fsl_soc: remove mpc83xx_wdt code
mpc83xx_wdt is the OF driver now, so we don't need fsl_soc constructor.
Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
---
arch/powerpc/sysdev/fsl_soc.c | 46 -----------------------------------------
1 files changed, 0 insertions(+), 46 deletions(-)
diff --git a/arch/powerpc/sysdev/fsl_soc.c b/arch/powerpc/sysdev/fsl_soc.c
index a5ceeef..32a3ac8 100644
--- a/arch/powerpc/sysdev/fsl_soc.c
+++ b/arch/powerpc/sysdev/fsl_soc.c
@@ -545,52 +545,6 @@ err:
arch_initcall(fsl_i2c_o...
| Jun 2, 1:38 pm 2008 |
| Anton Vorontsov | [PATCH 6/8] [WATCHDOG] mpc8xxx_wdt: add support for MPC8xx w...
The mpc8xxx_wdt driver is using two registers: SWSRR to push magic
numbers, and SWCRR to control the watchdog. Both registers are available
on the MPC8xx, and seem to have the same offsets and semantics as in
MPC83xx/MPC86xx watchdogs. The only difference is prescale value. So this
driver simply works on the MPC8xx CPUs.
One quirk is needed for the MPC8xx, though. It has small prescale value
and slow CPU, so the watchdog resets board prior to the driver has time
to load. To solve this we should spl...
| Jun 2, 1:38 pm 2008 |
| Anton Vorontsov | [PATCH 5/8] [WATCHDOG] mpc8xxx_wdt: various renames, mostly ...
mpc83xx_wdt.c renamed to mpc8xxx_wdt.c, now we can do various renames
in the file itself.
Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
---
drivers/watchdog/mpc8xxx_wdt.c | 104 ++++++++++++++++++++--------------------
1 files changed, 52 insertions(+), 52 deletions(-)
diff --git a/drivers/watchdog/mpc8xxx_wdt.c b/drivers/watchdog/mpc8xxx_wdt.c
index 19e3082..2f0681f 100644
--- a/drivers/watchdog/mpc8xxx_wdt.c
+++ b/drivers/watchdog/mpc8xxx_wdt.c
@@ -1,5 +1,5 @@
/*
- * m...
| Jun 2, 1:38 pm 2008 |
| Anton Vorontsov | [PATCH 4/8] [WATCHDOG] mpc83xx_wdt: rename to mpc8xxx_wdt
Rename the driver because now we support some MPC86xx processors.
There are no changes to the mpc83xx_wdt.c file, yet. When possible, we do
file renames and changes separately (because Linus once asked so, because
it helps git to track the renamed files).
Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
---
drivers/watchdog/Kconfig | 11 ++-
drivers/watchdog/Makefile | 2 +-
drivers/watchdog/mpc83xx_wdt.c | 294 ----------------------------------------
drivers/w...
| Jun 2, 1:38 pm 2008 |
| Anton Vorontsov | [PATCH 3/8] [WATCHDOG] mpc83xx_wdt: add support for MPC86xx ...
On MPC86xx the watchdog could be enabled only at power-on-reset, and
could not be disabled afterwards. We must ping the watchdog from the
kernel until the userspace handles it.
MPC83xx CPUs are only differ in a way that watchdog could be disabled
once, but after it was enabled via software it becomes just the same
as MPC86xx.
Thus, to support MPC86xx I added the kernel timer which pings the
watchdog until the userspace opens it.
Since we implemented the timer, now we're able to implement prope...
| Jun 2, 1:38 pm 2008 |
| Anton Vorontsov | [PATCH 2/8] [WATCHDOG] mpc83xx_wdt: convert to the OF platfo...
This patch simply converts mpc83xx_wdt to the OF platform driver so we
can directly work with the device tree without passing various stuff
through platform data.
Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
Acked-by: Stephen Rothwell <sfr@canb.auug.org.au>
---
drivers/watchdog/mpc83xx_wdt.c | 62 +++++++++++++++++++--------------------
1 files changed, 30 insertions(+), 32 deletions(-)
diff --git a/drivers/watchdog/mpc83xx_wdt.c b/drivers/watchdog/mpc83xx_wdt.c
inde...
| Jun 2, 1:38 pm 2008 |
| Anton Vorontsov | [PATCH 1/8] [WATCHDOG] mpc83xx_wdt: fix checkpatch issues
Quite tired of these warnings ;-), checkpatch spitting them when
seeing the rename patch.
WARNING: Use #include <linux/io.h> instead of <asm/io.h>
#25: FILE: watchdog/mpc83xx_wdt.c:25:
+#include <asm/io.h>
WARNING: Use #include <linux/uaccess.h> instead of <asm/uaccess.h>
#26: FILE: watchdog/mpc83xx_wdt.c:26:
+#include <asm/uaccess.h>
WARNING: line over 80 characters
#45: FILE: watchdog/mpc83xx_wdt.c:45:
+MODULE_PARM_DESC(timeout, "Watchdog timeout in tick...
| Jun 2, 1:38 pm 2008 |
| Alan Cox | Re: [PATCH 1/8] [WATCHDOG] mpc83xx_wdt: fix checkpatch issues
On Mon, 2 Jun 2008 21:38:36 +0400
I've already sent the maintainer a complete overhaul of watchdog via
checkpatch.
Alan
--
| Jun 2, 3:43 pm 2008 |
| Anton Vorontsov | Re: [PATCH 1/8] [WATCHDOG] mpc83xx_wdt: fix checkpatch issues
Oh, I see it now, thanks. I've just read Wim's comments there, and I
think I'll have to wait for git-watchdog update and then will rebase my
work on top.
Thanks,
--
Anton Vorontsov
email: cbouatmailru@gmail.com
irc://irc.freenode.net/bd2
--
| Jun 2, 4:49 pm 2008 |
| Guillaume FORTAINE | re: [LTP] [ANNOUNCE] The Linux Test Project has been Release...
Dear All,
There is also this project :
http://linuxtesting.org/
Mission and Activities of the Linux Verification Center
The mission of the Center is to propagate the Linux platform by ensuring its high reliability and compatibility through the use of open standards and advanced testing and verification technologies.
* Development of open source test suites for automated conformance and functional Linux testing.
* Strengthening open standards - helping standard bodies to improve, de...
| Jun 2, 10:16 am 2008 |
| Guennadi Liakhovetski | [RFC] generic GPIO parameter API
Hi,
as far as I understand, the current GPIO API only presents very basic GPIO
functionality: direction and level reading and writing. Whereas many GPIO
controllers have many further configurable parameters: pull-ups and
pull-downs, drive strength, slew rate, etc. And it is desirable to be able
to access those features too. Of course, we cannot extent the API with all
these possible functions. Would a generic GPIO parameter handling API be
desirable? Like
struct gpio_parameter {
char *na...
| Jun 2, 1:22 pm 2008 |
| Guennadi Liakhovetski | Re: [RFC] generic GPIO parameter API
Actually, I think, it would be even better to just add two fields
struct gpio_parameter *param;
int param_n;
to struct gpio_chip.
Thanks
Guennadi
---
Guennadi Liakhovetski, Ph.D.
Freelance Open-Source Software Developer
--
| Jun 2, 1:54 pm 2008 |
| Ben Nizette | Re: [RFC] generic GPIO parameter API
I like the idea in general. The biggest worry I have is trying to find
the parameter for you to fiddle with. The driver which is going to want
to set the parameters is going to have the gpio number, not the
gpio_chip. Also, the fact that the parameters are uniquely identified
by strings is a bit awkward. I can see people registering the same kind
of parameter for different chips like "pullup", "Pullup", "pu" etc
making the driver's task even harder.
So, I reckon if we're to do this we shoul...
| Jun 2, 7:13 pm 2008 |
| Jan Kara | [PATCH] quota: Split out quota_struct.h out of quota.h
Split some structure definitions from quota.h to quota_struct.h so that they
can be separately included in fs.h. This makes it possible to declare some
useful inline functions in quota.h because it can now include fs.h.
Signed-off-by: Jan Kara <jack@suse.cz>
---
include/linux/fs.h | 2 +-
include/linux/quota.h | 193 +---------------------------------------------
include/linux/quotaops.h | 1 +
include/linux/syscalls.h | 2 +-
4 files changed, 5 insertions(+), 193 deleti...
| Jun 2, 1:11 pm 2008 |
| Jan Kara | [PATCH] quota: Convert macros to inline functions
Signed-off-by: Jan Kara <jack@suse.cz>
---
include/linux/quota.h | 53 +++++++++++++++++++++++++++++++++++-------------
1 files changed, 38 insertions(+), 15 deletions(-)
diff --git a/include/linux/quota.h b/include/linux/quota.h
index 841c4ae..04ec8c5 100644
--- a/include/linux/quota.h
+++ b/include/linux/quota.h
@@ -125,10 +125,20 @@ extern spinlock_t dq_data_lock;
#define DQUOT_DEL_REWRITE max(V1_DEL_REWRITE, V2_DEL_REWRITE)
void mark_info_dirty(struct super_block *sb, int type)...
| Jun 2, 1:11 pm 2008 |
| Jan Kara | Cleanup quota header files
The series of patches below cleans up quota header files. It does several
things:
1) Rename functions from uppercase to lowercase (compatibility macros
introduced)
2) Remove some unnecessary definitions
3) Split quota.h into two files so that we can properly declare inline
functions.
4) Change macros to inline functions.
So far no filesystem is converted from old function names to new ones -
that is an independent step and I'll hopefully get to that later :).
Andrew, would you merge this...
| Jun 2, 1:11 pm 2008 |
| Jan Kara | [PATCH] quota: Rename quota functions from upper case, make ...
Cleanup quotaops.h: Rename functions from uppercase to lowercase (and define
backward compatibility macros), move larger functions to dquot.c and make
them non-inline.
Signed-off-by: Jan Kara <jack@suse.cz>
---
fs/dquot.c | 53 +++++++++++
include/linux/quotaops.h | 226 ++++++++++++++++++++++------------------------
2 files changed, 160 insertions(+), 119 deletions(-)
diff --git a/fs/dquot.c b/fs/dquot.c
index 5ac77da..2664602 100644
--- a/fs/dquot.c
+++ b/fs/dquot.c
...
| Jun 2, 1:11 pm 2008 |
| Jan Kara | [PATCH] quota: Remove use of info_any_dirty()
Since there is only a single place which uses info_any_dirty() and that
is a trivial macro, just remove the use of this macro completely.
Signed-off-by: Jan Kara <jack@suse.cz>
---
fs/quota.c | 7 +++++--
include/linux/quota.h | 2 --
2 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/fs/quota.c b/fs/quota.c
index db1cc9f..f0702f4 100644
--- a/fs/quota.c
+++ b/fs/quota.c
@@ -199,8 +199,11 @@ restart:
list_for_each_entry(sb, &super_blocks, s_list) {
...
| Jun 2, 1:11 pm 2008 |
| Vegard Nossum | Re: [PATCH] quota: Remove use of info_any_dirty()
Hi,
This is really too hideous in my opinion and looks like a candidate
for its own static inline function.
Or you can try to rewrite the boolean expression on multiple lines
using continue, something like:
- for (cnt = 0, dirty = 0; cnt < MAXQUOTAS; cnt++)
- if ((type == cnt || type == -1) && sb_has_quota_enabled(
- && info_any_dirty(&sb_dqopt(sb)->info[cnt]))
- dirty = 1;
...
| Jun 2, 1:41 pm 2008 |
| Jan Kara | [PATCH] ext4: Add explicit include of <linux/quota.h> ...
We need definitions from quota.h. So far we depended on fs.h on including
this file for us and this is going to change.
Signed-off-by: Jan Kara <jack@suse.cz>
---
fs/ext4/ext4_jbd2.h | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/fs/ext4/ext4_jbd2.h b/fs/ext4/ext4_jbd2.h
index 9255a7d..be2301c 100644
--- a/fs/ext4/ext4_jbd2.h
+++ b/fs/ext4/ext4_jbd2.h
@@ -17,6 +17,7 @@
#include <linux/fs.h>
#include <linux/jbd2.h>
+#include <linux/quota.h&...
| Jun 2, 1:11 pm 2008 |
| Jan Kara | [PATCH] ext2: Add explicit include of <linux/quota.h> ...
We need definitions from quota.h and so far we depended on fs.h to
include this file for us. This will be no longer true.
Signed-off-by: Jan Kara <jack@suse.cz>
---
fs/ext2/super.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/fs/ext2/super.c b/fs/ext2/super.c
index ef50cbc..609df85 100644
--- a/fs/ext2/super.c
+++ b/fs/ext2/super.c
@@ -31,6 +31,7 @@
#include <linux/seq_file.h>
#include <linux/mount.h>
#include <linux/log2.h>
+#include ...
| Jun 2, 1:11 pm 2008 |
| Casey Schaufler | [PATCH] Smack: fuse mount hang fix
From: Casey Schaufler <casey@schaufler-ca.com>
The d_instantiate hook for Smack can hang on the root
inode of a filesystem if the file system code has not
really done all the set-up. Fuse is known to encounter
this problem. This change detects an attempt to
instantiate a root inode and addresses it early in the
processing, before any attempt is made to do something
that might hang.
Signed-off-by: Casey Schaufler <casey@schaufler-ca.com>
---
security/smack/smack_lsm.c | 12 +++...
| Jun 2, 1:04 pm 2008 |
| Luiz Fernando N. Cap... | Re: [PATCH] Smack: fuse mount hang fix
Em Mon, 02 Jun 2008 10:04:32 -0700
Casey Schaufler <casey@schaufler-ca.com> escreveu:
| From: Casey Schaufler <casey@schaufler-ca.com>
|
| The d_instantiate hook for Smack can hang on the root
| inode of a filesystem if the file system code has not
| really done all the set-up. Fuse is known to encounter
| this problem. This change detects an attempt to
| instantiate a root inode and addresses it early in the
| processing, before any attempt is made to do something
| that might hang...
| Jun 2, 1:58 pm 2008 |
| Peter Oberparleiter | [PATCH] kbuild: simplify module versioning procedure
This patch used to be part of the gcov patch set but is no longer
required. kbuild simplifications might still prove useful though.
--
From: Peter Oberparleiter <peter.oberparleiter@de.ibm.com>
Simplify module version generation to remove duplicate definition of
cmd_cc_o_c build rule.
Signed-off-by: Peter Oberparleiter <peter.oberparleiter@de.ibm.com>
---
scripts/Makefile.build | 25 ++++++++++---------------
1 files changed, 10 insertions(+), 15 deletions(-)
Index: linux-2....
| Jun 2, 12:31 pm 2008 |
| previous day | today | next day |
|---|---|---|
| June 1, 2008 | June 2, 2008 | June 3, 2008 |
| Greg KH | [GIT PATCH] driver core patches against 2.6.24 |
| david | Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3 |
| Eric Paris | [RFC 0/5] [TALPA] Intro to a linux interface for on access scanning |
| Linus Torvalds | Linux 2.6.25-rc4 |
git: | |
| David Miller | [GIT]: Networking |
| Gerrit Renker | [PATCH 13/37] dccp: Deprecate Ack Ratio sysctl |
| Vladimir Ivashchenko | Re: HTB accuracy for high speed |
| Jarek Poplawski | Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
