| From | Subject | Date |
|---|---|---|
| Sitsofe Wheeler | [REGRESSION, i915]: Periodic stalls with 2.6.36-rc2
Hi,
With 2.6.36-rc2 I see periodic stalls when running with a stock Ubuntu
10.04 userspace. These stalls were not present in 2.6.36-rc1 on an EeePC
900 with an i915.
Attempts to bisect the issue are not successful - most kernels in
between rc1 and rc2 just make the system come up with a black screen
which takes minutes between showing messages (rather than finishing in
two seconds). bc584c5107bfd97e2aa41c798e3b213bcdd4eae7 seems to be good
but 45d7f32c7a43cbb9592886d38190e379e2eb2226 is ...
| Aug 23, 4:35 pm 2010 |
| David Miller | [GIT] Networking
1) We changes lots of things to use "__packed" instead of "__attribute__((packed))"
but this doesn't work out so well in user exported headers since the __packed
define comes from compiler.h
The easiest way to fix this regression is to revert this transformation in
user visible headers. Fix from Changli Gao.
2) RDS leaks kernel memory, also transmit and statistic gathering race fixes
in irda, qlnic, and netxen. All from Eric Dumazet.
3) Fix lockdep spew in netxen, from ...
| Aug 23, 3:44 pm 2010 |
| Mrs.Tsang Siu | Re: Business Proposal
Good Day,
With great pleasure, I write you this letter ,which I hope it will meet you
in good condition of health, I am Mrs.Tsang Siu, a staff of Lloyd's TSB Group
Plc. here in Hong Kong; I request for urgent business relationship, May I use
this medium to seek for your co-operation and assistance in a business, that
requires high maximum confidentiality. If you are interested please
reach me on
my private email address below: (mrs.tsangsiu1@yahoo.com.hk) for more details
of my ...
| Aug 23, 3:17 pm 2010 |
| Alan Stern | Re: Runtime PM and the block layer
Exactly. And also because if the device is in low-power mode then its
parent might be in low-power too, meaning that we would have to wait
for both the parent and the device to return to full power before
sending the request.
The PM framework is set up so that power-state changes are always done
in process context -- meaning in this case that a workqueue would be
needed. The PM core has a special workqueue for just this purpose.
But obviously a prep function can't sit around and wait ...
| Aug 23, 2:51 pm 2010 |
| Alok Kataria | Removing VMI kernel support from 2.6.37
Hi Peter,
Removal of VMI(VMware's para-virtualization technique) is scheduled for
2.6.37, I was wondering what would be the right time frame for
submitting a patch which does that. Does the x86-tip tree have any next
branch where we can park this patch ?
Below is the patch for your reference which just removes VMI specific
bits, applies on top of x86-tip.
There is also an opportunity to remove the alloc_pmd_clone hook from
paravirt side of the things. This interface is only used for VMI, ...
| Aug 23, 2:49 pm 2010 |
| tip-bot for Alok Kataria | [tip:x86/vmware] x86, vmware: Remove deprecated VMI kern ...
Commit-ID: 9863c90f682fba34cdc26c3437e8c00da6c83fa4
Gitweb: http://git.kernel.org/tip/9863c90f682fba34cdc26c3437e8c00da6c83fa4
Author: Alok Kataria <akataria@vmware.com>
AuthorDate: Mon, 23 Aug 2010 14:49:11 -0700
Committer: H. Peter Anvin <hpa@linux.intel.com>
CommitDate: Mon, 23 Aug 2010 15:18:50 -0700
x86, vmware: Remove deprecated VMI kernel support
With the recent innovations in CPU hardware acceleration technologies
from Intel and AMD, VMware ran a few experiments to compare ...
| Aug 23, 4:10 pm 2010 |
| H. Peter Anvin | Re: Removing VMI kernel support from 2.6.37
That would be nice. In the meantime I have queued up your patch.
-hpa
--
| Aug 23, 4:39 pm 2010 |
| Dan Carpenter | [patch] pda_power: remove unneeded assignment
We never use the "ret" value from this assignment, and also
PTR_ERR(NULL) is zero. I looked at it and this driver is designed to
accept a NULL value for "ac_draw". So there isn't a bug in the original
code and we can just remove this confusing assignment.
Signed-off-by: Dan Carpenter <error27@gmail.com>
diff --git a/drivers/power/pda_power.c b/drivers/power/pda_power.c
index 69f8aa3..63a6a4d 100644
--- a/drivers/power/pda_power.c
+++ b/drivers/power/pda_power.c
@@ -279,7 +279,6 @@ static ...
| Aug 23, 2:21 pm 2010 |
| Daniel Mack | Re: [patch] pda_power: remove unneeded assignment
Looks reasonable.
--
| Aug 23, 2:39 pm 2010 |
| Yinghai Lu | [PATCH] x86: Disabling x2apic if nox2apic is specified
for
1. x2apic preenabled system
2. first kernel have x2apic enabled, and try to boot second kernel with "nox2apic"
Signed-off-by: Yinghai Lu <yinghai@kernel.org>
---
arch/x86/include/asm/apic.h | 6 ++++
arch/x86/include/asm/apicdef.h | 1
arch/x86/kernel/acpi/boot.c | 10 ++++++-
arch/x86/kernel/apic/apic.c | 54 ++++++++++++++++++++++++++++++++---------
arch/x86/mm/srat_64.c | 12 ++++++++-
5 files changed, 69 insertions(+), 14 deletions(-)
Index: ...
| Aug 23, 1:48 pm 2010 |
| Matthew Garrett | [GIT] platform driver fixes
Hi Linus,
One fix from Jon to deal with a missing dependency in Kconfig, and one
from me to handle some breakage in the hp-wmi driver that leaves the
rfkill interface broken on some hardware
The following changes since commit 9ee47476d6734c9deb9ae9ab05d963302f6b6150:
Merge branch 'radix-tree' of git://git.kernel.org/pub/scm/linux/kernel/git/dgc/xfsdev (2010-08-22 19:55:14 -0700)
are available in the git repository at:
...
| Aug 23, 1:33 pm 2010 |
| Jiri Slaby | [PATCH 1/1] HPET: unmap unused I/O space
When the initialization code in hpet founds a memory resource and does
not found IRQ, it does not unmap the memory resource previously
mapped.
There are buggy BIOSes which report resources exactly like this and
what is worse the memory region bases point to normal RAM. This
normally would not matter since the space is not touched. But when PAT
is turned on, ioremap causes the page to be uncached and sets this bit
in page->flags.
Then when the page is about to be used by the allocator, it ...
| Aug 23, 1:27 pm 2010 |
| Rafael J. Wysocki | Aug 23, 2:37 pm 2010 | |
| Matthew Garrett | [PATCH] ACPI: Don't report current_now if battery report ...
ACPI batteries can report in units of either current or energy. Right
now we expose the current_now file even if the battery is reporting
energy units, resulting in a file that should contain mA instead
containing mW. Don't expose this value unless the battery is reporting
current.
Signed-off-by: Matthew Garrett <mjg@redhat.com>
Cc: Arjan van de Ven <arjan@linux.intel.com>
---
drivers/acpi/battery.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git ...
| Aug 23, 1:25 pm 2010 |
| Pekka Enberg | [PATCH] tty: Remove __GFP_NOFAIL from tty_add_file()
This patch removes __GFP_NOFAIL use from tty_add_file() and adds proper error
handling to the call-sites of the function.
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: David Rientjes <rientjes@google.com>
Signed-off-by: Pekka Enberg <penberg@kernel.org>
---
drivers/char/pty.c | 4 +++-
drivers/char/tty_io.c | 15 +++++++++++----
include/linux/tty.h | 2 +-
3 files changed, 15 insertions(+), 6 ...
| Aug 23, 1:21 pm 2010 |
| David Rientjes | Re: [PATCH] tty: Remove __GFP_NOFAIL from tty_add_file()
This needs devpts_kill_index() to reverse the successful
devpts_new_index(), so I think it should be "goto out" and not "goto
out1".
--
| Aug 23, 2:06 pm 2010 |
| Gregory Bean | [PATCH 3/5] msm: convert 8x50 to gpiomux.
Change the gpio-init code from deprecated gpio_tlmm_config
to the new gpiomux api.
Signed-off-by: Gregory Bean <gbean@codeaurora.org>
---
arch/arm/mach-msm/board-qsd8x50.c | 12 ------------
arch/arm/mach-msm/gpiomux-8x50.c | 11 ++++++++++-
2 files changed, 10 insertions(+), 13 deletions(-)
diff --git a/arch/arm/mach-msm/board-qsd8x50.c b/arch/arm/mach-msm/board-qsd8x50.c
index e3cc807..fb0fe67 100644
--- a/arch/arm/mach-msm/board-qsd8x50.c
+++ ...
| Aug 23, 1:12 pm 2010 |
| Gregory Bean | [PATCH 1/5] msm: add gpiomux api for gpio multiplex & co ...
Add the 'gpiomux' api, which addresses the following shortcomings
of existing tlmm api:
- gpio power-collapse, which is managed by a peripheral processor on
other targets, must be managed by the application processor on the 8x60.
- The enable/disable flag of the legacy gpio_tlmm_config api
is not applicable on the 8x60, and causes confusion.
- The gpio 'direction' bits are meaningless for all func_sel
configurations except for generic-gpio mode (func_sel 0), in which
case the ...
| Aug 23, 1:12 pm 2010 |
| Gregory Bean | [PATCH 5/5] msm: gpio: Remove tlmm routines obsoleted by ...
Now that all supported gpio_tlmm_config-using boards
are using gpiomux, remove the deprecated code.
Signed-off-by: Gregory Bean <gbean@codeaurora.org>
---
arch/arm/mach-msm/Makefile | 1 -
arch/arm/mach-msm/gpio.c | 85 -----------------------
arch/arm/mach-msm/include/mach/gpio.h | 123 ---------------------------------
3 files changed, 0 insertions(+), 209 deletions(-)
delete mode 100644 arch/arm/mach-msm/gpio.c
diff --git a/arch/arm/mach-msm/Makefile ...
| Aug 23, 1:12 pm 2010 |
| Gregory Bean | [PATCH 4/5] msm: convert 7x30 to gpiomux.
Change deprecated gpio_tlmm_config calls to gpiomux calls.
Signed-off-by: Gregory Bean <gbean@codeaurora.org>
---
arch/arm/mach-msm/board-msm7x30.c | 20 --------------------
arch/arm/mach-msm/gpiomux-7x30.c | 21 ++++++++++++++++++++-
2 files changed, 20 insertions(+), 21 deletions(-)
diff --git a/arch/arm/mach-msm/board-msm7x30.c b/arch/arm/mach-msm/board-msm7x30.c
index e329819..74abb74 100644
--- a/arch/arm/mach-msm/board-msm7x30.c
+++ b/arch/arm/mach-msm/board-msm7x30.c
@@ ...
| Aug 23, 1:12 pm 2010 |
| Gregory Bean | [PATCH 2/5] msm: documentation: add gpiomux documentation.
Signed-off-by: Gregory Bean <gbean@codeaurora.org>
---
Documentation/arm/00-INDEX | 2 +
Documentation/arm/msm/gpiomux.txt | 179 +++++++++++++++++++++++++++++++++++++
2 files changed, 181 insertions(+), 0 deletions(-)
create mode 100644 Documentation/arm/msm/gpiomux.txt
diff --git a/Documentation/arm/00-INDEX b/Documentation/arm/00-INDEX
index 7f5fc3b..ecf7d04 100644
--- a/Documentation/arm/00-INDEX
+++ b/Documentation/arm/00-INDEX
@@ -6,6 +6,8 @@ Interrupts
- ARM Interrupt ...
| Aug 23, 1:12 pm 2010 |
| Alan Stern | Runtime PM and the block layer
Jens:
I want to implement runtime power management for the SCSI sd driver.
The idea is that the device should automatically be suspended after a
certain amount of time spent idle.
The basic outline is simple enough. If the device is in low power when
a request arrives, delay handling the request until the device can be
brought back to high power. When a request completes and the request
queue is empty, schedule a runtime-suspend for the appropriate time in
the future.
The difficulty ...
| Aug 23, 12:17 pm 2010 |
| Jens Axboe | Re: Runtime PM and the block layer
So if it's in low power mode, you need to defer because you want to
Right, that is used for resource starvation. So usually very short
Internally, it uses the block queue plugging to set a timer to defer a
bit. That's purely implementation detail and it will change in the
not-so-distant future if I kill the per-queue plugging. The effect will
still be the same though, the action will be automatically retried after
A stopped queue is usually the driver telling the block layer to bugger
off ...
| Aug 23, 12:53 pm 2010 |
| Joe Perches | [PATCH 1/2] drivers/serial/bfin_5xx.c: Fix logging messa ...
Using continuation lines often introduces undesired whitespace.
Fix the misuses.
Signed-off-by: Joe Perches <joe@perches.com>
---
drivers/serial/bfin_5xx.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/serial/bfin_5xx.c b/drivers/serial/bfin_5xx.c
index a9eff2b..4e38f99 100644
--- a/drivers/serial/bfin_5xx.c
+++ b/drivers/serial/bfin_5xx.c
@@ -734,8 +734,8 @@ static int bfin_serial_startup(struct uart_port *port)
IRQF_TRIGGER_RISING | ...
| Aug 23, 12:01 pm 2010 |
| Joe Perches | [PATCH 2/2] drivers/serial/bfin_5xx.c: Use pr_<level> an ...
Also fix typo of length.
Signed-off-by: Joe Perches <joe@perches.com>
---
drivers/serial/bfin_5xx.c | 29 ++++++++++++++---------------
1 files changed, 14 insertions(+), 15 deletions(-)
diff --git a/drivers/serial/bfin_5xx.c b/drivers/serial/bfin_5xx.c
index 4e38f99..4c01ee6 100644
--- a/drivers/serial/bfin_5xx.c
+++ b/drivers/serial/bfin_5xx.c
@@ -8,6 +8,8 @@
* Licensed under the GPL-2 or later.
*/
+#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
+
#if ...
| Aug 23, 12:01 pm 2010 |
| Dirk DeSchepper | [PATCH] USB: option: Removing hardware ID disabling Nova ...
Unfortunately some of the hardware PID belonging to auto-install CDROM (AICD) of Novatel modems found their way into the option module. This causes the AICD to be treated as a modem
in stead of a disk. Since the modem ports do not appear until after the AICD is ejected, this essentially disables the modem. After a couple of minutes the AICD should auto-eject, but
it is just too long a wait. The frequency of the failure seems to depend on both the hardware and the linux distribution.
Below is a ...
| Aug 23, 11:43 am 2010 |
| Greg KH | Re: [PATCH] USB: option: Removing hardware ID disabling ...
Please wrap your emails at 72 columns like a sane person :)
And another one :(
Please fix your editor to show those up in bright red so you don't apply
them.
Also, please run your patches through the scripts/checkpatch.pl script
to find all of these issues before sending them to me and having me find
Why did you strip off the names of the devices?
And again, trailing whitespace :(
Care to redo this patch?
thanks,
greg k-h
--
| Aug 23, 12:18 pm 2010 |
| Jonathan Corbet | [PATCH] ACPI_TOSHIBA needs LEDS support
Don't ask how ACPI_TOSHIBA got enabled on in desktop system's .config -
I don't know. But it has silently been there until I tried 2.6.36-rc2,
where it broke the build because I don't have LED support turned on.
Attached patch fixes things up.
(I had to change BACKLIGHT_CLASS_DEVICE to "depends" because otherwise
I get unsightly core dumps out of scripts/kconfig/conf).
jon
--
toshiba: make sure we pull in LED support
The Toshiba extras driver uses the LED module, so make sure we have ...
| Aug 23, 10:32 am 2010 |
| Andreas Schwab | [PATCH] lib/raid6: ignore generated files
Signed-off-by: Andreas Schwab <schwab@linux-m68k.org>
---
lib/raid6/.gitignore | 12 ++++++++++++
1 files changed, 12 insertions(+), 0 deletions(-)
create mode 100644 lib/raid6/.gitignore
diff --git a/lib/raid6/.gitignore b/lib/raid6/.gitignore
new file mode 100644
index 0000000..730e5ec
--- /dev/null
+++ b/lib/raid6/.gitignore
@@ -0,0 +1,12 @@
+int1.c
+int2.c
+int4.c
+int8.c
+int16.c
+int32.c
+altivec1.c
+altivec2.c
+altivec4.c
+altivec8.c
+tables.c
+mktables
-- ...
| Aug 23, 10:25 am 2010 |
| Kevin Hilman | [PATCH v2] driver core: platform_bus: allow runtime over ...
Currently, the platform_bus allows customization of several of the
busses dev_pm_ops methods by using weak symbols so that platform code
can override them. The weak-symbol approach is not scalable when
wanting to support multiple platforms in a single kernel binary.
Instead, provide __init methods for platform code to customize the
dev_pm_ops methods at runtime.
NOTE: after these dynamic methods are merged, the weak symbols should
be removed from drivers/base/platform.c. AFAIK, this ...
| Aug 23, 10:18 am 2010 |
| Pekka Enberg | Re: [S+Q Cleanup4 0/6] SLUB: Cleanups V4
I've applied these patches and queued them for -next. Thanks guys!
--
| Aug 23, 10:17 am 2010 |
| Jonathan Corbet | Re: [now bisected] i915: 2.6.36-rc2 hoses my Intel display
On Tue, 24 Aug 2010 00:37:52 +0100
That doesn't seem to give me any output at all.
One thing I noticed, though, is that I occasionally get something like:
Aug 23 17:43:14 bike kernel: [ 142.920185] [drm:intel_calculate_wm] *ERROR* Insufficient FIFO for plane, expect flickering: entries required = 51, available = 28.
They seem to come in threes, for whatever that's worth.
Thanks,
jon
--
| Aug 23, 4:46 pm 2010 |
| Jonathan Corbet | i915: 2.6.36-rc2 hoses my Intel display
So I decided to fire up -rc2 today to see what would happen...the
results are best described by the attached images. Something is
clearly scrambled between my hardware and the i915 driver. Display with X
is hosed, but things go weird before X gets a chance to run (it is worth
noting that the initial output from the kernel is legible).
FWIW, my hardware is:
00:02.1 Display controller: Intel Corporation 82Q35 Express Integrated Graphics Controller (rev 02)
Subsystem: Dell OptiPlex ...
| Aug 23, 10:01 am 2010 |
| Chris Wilson | Re: [now bisected] i915: 2.6.36-rc2 hoses my Intel display
Sigh, that sounds like I screwed the patch up instead.
Hmm, probably bailing out of the ioctl before hitting the newline.
drm.debug=0x4 should print the right information for this bug.
--
Chris Wilson, Intel Open Source Technology Centre
--
| Aug 23, 4:37 pm 2010 |
| Chris Wilson | Re: [now bisected] i915: 2.6.36-rc2 hoses my Intel display
Taking the patch at face value, the cause should be a mistake in error
handling. So the first step would be to identify which i2c_transfer()
failed.
diff --git a/drivers/gpu/drm/i915/intel_sdvo.c b/drivers/gpu/drm/i915/intel_sdvo.c
index 093e914..6afc7cf 100644
--- a/drivers/gpu/drm/i915/intel_sdvo.c
+++ b/drivers/gpu/drm/i915/intel_sdvo.c
@@ -269,7 +269,7 @@ static bool intel_sdvo_read_byte(struct intel_sdvo *intel_sdvo, u8 addr, u8 *ch)
return true;
}
- DRM_DEBUG_KMS("i2c ...
| Aug 23, 3:36 pm 2010 |
| Jonathan Corbet | Re: [now bisected] i915: 2.6.36-rc2 hoses my Intel display
On Mon, 23 Aug 2010 23:36:55 +0100
OK, I tried it, but neither warning triggers.
Don't know if it helps or not, but I tried booting with
drm.debug=0x05. The result was truly vast amounts of stuff like this:
Aug 23 17:20:59 bike kernel: m:drm_ioctl], pid=2032, cmd=0x6458
nm:drm_ioctl], pid=2032, cmd=0x6458, nm:drm_ioctl], pid=2032, cmd=0x645
m:drm_ioctl], pid=2032, cmd=0x6458 m:drm_ioctl], pid=2032, cmd=0x6458,
m:drm_ioctl], pid=2032, cmd=0x6458, nm:drm_ioctl], pid=2032, ...
| Aug 23, 4:32 pm 2010 |
| Jonathan Corbet | Re: [now bisected] i915: 2.6.36-rc2 hoses my Intel display
On Mon, 23 Aug 2010 11:01:45 -0600
I went ahead and bisected the problem, which was added between -rc1 and
-rc2. The end result is this:
32aad86fe88e7323d4fc5e9e423abcee0d55a03d is the first bad commit
commit 32aad86fe88e7323d4fc5e9e423abcee0d55a03d
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date: Wed Aug 4 13:50:25 2010 +0100
drm/i915/sdvo: Propagate errors from reading/writing control bus.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: ...
| Aug 23, 2:17 pm 2010 |
| Chris Wilson | Re: [now bisected] i915: 2.6.36-rc2 hoses my Intel display
In threes. Hmm, one for primary, cursor and self-refresh. drm.debug=0xe
would be interesting to see what the pixel clock is.
Can you grab one before the bad commit and one after? If there is a change
that may help pin-point the mistake. Or indicate further problems...
--
Chris Wilson, Intel Open Source Technology Centre
--
| Aug 23, 4:55 pm 2010 |
| Mark Brown | [PATCH] spi/spi_s3c64xx: Warn if PIO transfers time out
When using PIO we have a timeout for the TX and RX FIFOs to ensure that
the data actually gets transferred. Warn if we hit that timeout - it
should never happen, but this makes sure we'll find out if it does.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
---
drivers/spi/spi_s3c64xx.c | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/drivers/spi/spi_s3c64xx.c b/drivers/spi/spi_s3c64xx.c
index 7e627f7..f72e1c0 100644
--- ...
| Aug 23, 9:40 am 2010 |
| David Brownell | Re: [PATCH] pio: add arch specific gpio_is_valid() function
What's the rationale? It's valid or not. And there's already a
function whose job it is to report that status ... which is set up
for arch customization. Which ISTR worked fine for AT91 (among other
platforms) ...
--
| Aug 23, 9:36 am 2010 |
| auto595907 | Re: netfilter/iptables stopped logging 2.6.35-rc
this patch fixes the bug above
(http://marc.info/?l=netfilter-devel&m=128116762801769&w=2)
thanks.
(forgot the subject last time, sorry)
--
| Aug 23, 9:29 am 2010 |
| Niels de Vos | [PATCH] parport_pc: show the detection of a 2 serial por ...
The printk message for the 2 serial port version is obscured with a debug
macro, unlike all other versions of the card. It should be changed to make
the output equal for all detected models.
Reference: https://bugzilla.redhat.com/show_bug.cgi?id=578616#c1
CC: Joe Krahn <krahn@niehs.nih.gov>
Signed-off-by: Niels de Vos <ndevos@redhat.com>
---
drivers/parport/parport_pc.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/parport/parport_pc.c ...
| Aug 23, 9:20 am 2010 |
| Christoph Lameter | Re: [PATCH] compaction: fix COMPACTPAGEFAILED counting
Could we simply make migrate_pages simply not do any cleanup?
Caller has to call putback_lru_pages()?
--
| Aug 23, 9:41 am 2010 |
| Minchan Kim | Re: [PATCH] compaction: fix COMPACTPAGEFAILED counting
Hmm. maybe I misunderstood your point.
Your point is that let's make whole caller of migrate_pagse has a responsibility
of clean up the list?
--
Kind regards,
Minchan Kim
--
| Aug 23, 10:06 am 2010 |
| Christoph Lameter | Re: [PATCH] compaction: fix COMPACTPAGEFAILED counting
Yes. All callers would be responsible for cleanup.
--
| Aug 23, 10:17 am 2010 |
| Minchan Kim | Re: [PATCH] compaction: fix COMPACTPAGEFAILED counting
If migrate_pages always return number of pages not migrated, it's possible.
But now it can return the number of pages not migrated or error code.
In case of returning error code, caller has a complex routine to know count the
Hmm. yes it's not good. At least we can help some NOTE.
migrate_pages isn't generic kernel API so i think documentation is enough.
--
Kind regards,
Minchan Kim
--
| Aug 23, 10:03 am 2010 |
| Minchan Kim | [PATCH] compaction: fix COMPACTPAGEFAILED counting
Now update_nr_listpages doesn't have a role. That's because
lists passed is always empty just after calling migrate_pages.
The migrate_pages cleans up page list which have failed to migrate
before returning by aaa994b3.
[PATCH] page migration: handle freeing of pages in migrate_pages()
Do not leave pages on the lists passed to migrate_pages(). Seems that we will
not need any postprocessing of pages. This will simplify the handling of
pages by the callers of migrate_pages().
At that ...
| Aug 23, 9:15 am 2010 |
| Dan Carpenter | [patch] i915: signedness bugs in i915 ring buffer
"ring->space" is unsigned so it's never less than zero.
Signed-off-by: Dan Carpenter <error27@gmail.com>
diff --git a/drivers/gpu/drm/i915/intel_ringbuffer.c b/drivers/gpu/drm/i915/intel_ringbuffer.c
index 51e9c9e..a331898 100644
--- a/drivers/gpu/drm/i915/intel_ringbuffer.c
+++ b/drivers/gpu/drm/i915/intel_ringbuffer.c
@@ -208,9 +208,10 @@ static int init_ring_common(struct drm_device *dev,
else {
ring->head = ring->get_head(dev, ring);
ring->tail = ring->get_tail(dev, ...
| Aug 23, 9:14 am 2010 |
| Minchan Kim | [PATCH] compaction: handle active and inactive fairly in ...
Iram reported compaction's too_many_isolated loops forever.
(http://www.spinics.net/lists/linux-mm/msg08123.html)
The meminfo of situation happened was inactive anon is zero.
That's because the system has no memory pressure until then.
While all anon pages was in active lru, compaction could select
active lru as well as inactive lru. That's different things
with vmscan's isolated. So we has been two too_many_isolated.
While compaction can isolated pages in both active and inactive,
current ...
| Aug 23, 9:13 am 2010 |
| Miloslav Trmac | Re: [PATCH 00/19] RFC, v2: "New" /dev/crypto user-space ...
I'm afraid the flexibility is necessary: immediately after posting the first interface with fixed structures there were requests for extensions that would be difficult or impossible to implement using the structures; crypto is not something fixed, new algorithms with algorithm-specific parameters appear all the time. On the positive side, the implementation of session_once as shorthand for session_{init,update,final} is much nicer with the netlink attributes.
Yes, it's a lot of code. I'm afraid ...
| Aug 23, 9:03 am 2010 |
| Bastien Nocera | Re: [PATCH 0/2] iw: add GeoClue support
Exactly, and it's mentioned in the bugzilla, and was discussed on the
mailing-list as well.
--
| Aug 23, 3:15 pm 2010 |
| Bastien Nocera | Re: [PATCH 0/2] iw: add GeoClue support
Note that this error carries on in the mail. There is a master provider
for Geoclue that can make use of whatever providers are available, but
it's not in too good a shape.
I'd rather somebody started fixing the Geoclue master provider rather
than relying on a particular service, especially when the D-Bus API for
the providers themselves is something we don't want to support in the
longer term.
Cheers
--
| Aug 23, 9:05 am 2010 |
| Bastien Nocera | Re: [PATCH 0/2] iw: add GeoClue support
Right. And file bugs if you have specific uses that don't work as
expected with the master provider.
--
| Aug 23, 3:29 pm 2010 |
| Luis R. Rodriguez | Re: [PATCH 0/2] iw: add GeoClue support
On Mon, Aug 23, 2010 at 7:11 AM, Johannes Berg
To help us move forward to automate location awareness information
into the kernel. I don't think we can unify all possible solutions for
the different distributions out there so best is to make available
whatever utilities we can and allow the distribution implementors to
embrace whatever they want.
The current implementation doesn't talk to deamons. The hostip
provider within GeoClue and it will just trigger a URL get. If
desktops start ...
| Aug 23, 8:44 am 2010 |
| Luis R. Rodriguez | Re: [PATCH 0/2] iw: add GeoClue support
Sorry I do not follow yet. Is the idea that you would prefer if
client applications would never talk to providers directly and instead
always used the master provider?
Luis
--
| Aug 23, 3:11 pm 2010 |
| Bastien Nocera | Re: [PATCH 0/2] iw: add GeoClue support
See the bugzillas filed against Geoclue, most of them are due to bugs in
No, I'm talking about what's exported by the providers. I don't really
care if they talk to other parts of the system using D-Bus though. I'm
talking about link 2) here.
[App] <-1-> [Geoclue master] <-2-> [Gypsy provider] <-3-> [Gypsy daemon]
--
| Aug 23, 2:05 pm 2010 |
| Luis R. Rodriguez | Re: [PATCH 0/2] iw: add GeoClue support
Would the master provider not use Dbus for gypsy, for example?
Luis
--
| Aug 23, 10:46 am 2010 |
| Luis R. Rodriguez | Re: [PATCH 0/2] iw: add GeoClue support
And am new there :)
This makes sense -- are there plans on removing all these exported
library routines so that the only exposed thing is the master
provider calls?
Based on your comments it seems changing the iw patch to just
use the master provider would go more in line with current
development focus.
Luis
--
| Aug 23, 3:22 pm 2010 |
| Cousson, Benoit | Re: [PATCH] OMAP: HWMOD: Handle opt clocks using clk_add_alias
Hi Partha,
This is not a public function, so you should move it before the /*
You can avoid that iteration and the extra level of indentation by
You can avoid the indentation by returning in case of error.
The indentation is not align with the inner parameters... which is not
easy in your case due to the too many indentation level you have in this
This is not correct way of splitting long string, use "omap_device:"
instead.
Even if dev_err is usable because you have the dev ...
| Aug 23, 1:14 pm 2010 |
| Partha Basak | [PATCH] OMAP: HWMOD: Handle opt clocks using clk_add_alias
From: Basak, Partha <p-basak2@ti.com>
For every optional clock present per hwmod per omap-device, this function
adds an entry in the clocks list of the form <dev-id=dev_name, con-id=role>,
if an entry is already present in the list of the form <dev-id=NULL, con-id=role>.
The function is called from within the framework inside omap_device_build_ss(),
after omap_device_register.
This allows drivers to get a pointer to its optional clocks based on its role
by calling clk_get(<dev*>, ...
| Aug 23, 8:44 am 2010 |
| Miloslav Trmac | Re: [PATCH 01/19] User-space API definition
I have examined that API; going purely by the names, having only one facility to manage "keys" does sound reasonable.
Looking at the details, the keyring API is primarily designed for long-term secure storage of unstructured, named blobs, in various namespaces - in some respects it is quite similar to a memory-only filesystem: each key has an explicit name and permissions, there is a hierarchy, and keys are designed to be shared between processes (although in some namespaces they are not).
The ...
| Aug 23, 8:37 am 2010 |
| Kevin Hilman | [PATCH] driver core: platform_bus: allow runtime overrid ...
From: Kevin Hilman <khilman@ti.com>
Currently, the platform_bus allows customization of several of the
busses dev_pm_ops methods by using weak symbols so that platform code
can override them. The weak-symbol approach is not scalable when
wanting to support multiple platforms in a single kernel binary.
Instead, provide __init methods for platform code to customize the
dev_pm_ops methods at runtime.
NOTE: after these dynamic methods are merged, the weak symbols should
be removed from ...
| Aug 23, 8:28 am 2010 |
| H. Peter Anvin | Re: Please add generic support for root=UUID= at kernel ...
Fantastic! So when grub2's idea of device naming doesn't match what
the kernel ends up with, it will cause all kinds of odd failures.
This really needs to be done by Linux. As far as doing this stuff in
the kernel, one of the major motivations for klibc was to be able to do
this kind of stuff without having to have people write kernel code, but
klibc integrated into the kernel build didn't get enough support to
actually make it in -- it still exists and is maintained as a ...
| Aug 23, 1:11 pm 2010 |
| Eric Valette | Please add generic support for root=UUID= at kernel para ...
Hi,
I just bought an new external disk enclosure with e-sata/USB2 connector
to replace an old USB2 only external disk enclosure.
My internal drive is a small SSD because I use the small factor PC as a
home theater and do want silence and fast boot. I build my own kernel to
put only what I need in and also boot somehow faster.
I use grub2 (up to date) as a loader. As soon as I power on the external
sata disk, the system does not boot because hardware designer add the
great idea to put ...
| Aug 23, 7:10 am 2010 |
| Florian Mickler | Re: Please add generic support for root=UUID= at kernel ...
On Mon, 23 Aug 2010 16:10:13 +0200
I'm not exactly shure, but isn't the search command in grub2 what you
want?
http://forums.linuxmint.com/viewtopic.php?f=46&t=38599
You can let grub2 figure out which drive is which and pass the right
devices to the kernel...
--
| Aug 23, 1:05 pm 2010 |
| Mark Brown | Re: [PATCH] i2c: remove obsolete cleanup for clientdata
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
--
| Aug 23, 8:22 am 2010 |
| Wolfram Sang | [PATCH] i2c: remove obsolete cleanup for clientdata
A few new i2c-drivers came into the kernel which clear the clientdata-pointer
on exit. This is obsolete meanwhile, so fix it and hope the word will spread.
Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
---
Jean, I dunno if it fits for 2.6.36. It is not precisely a regression.
Though, if it enters with the next merge window, the next set of "faulty"
drivers may come in at the same time...
drivers/misc/bh1780gli.c | 1 -
drivers/regulator/ad5398.c | 1 ...
| Aug 23, 8:05 am 2010 |
| Mike Frysinger | Re: [PATCH] i2c: remove obsolete cleanup for clientdata
on a related note, do we need to clear it when erroring at probe time
? doesnt seem like that is necessary either ...
-mike
--
| Aug 23, 2:58 pm 2010 |
| Jean Delvare | Re: [PATCH] i2c: remove obsolete cleanup for clientdata
Applied, and queued for 2.6.36. I agree that this kind of cleanup fits
well as an exception to the bugfix-only rule.
--
Jean Delvare
--
| Aug 23, 12:03 pm 2010 |
| Kevin Hilman | [PATCH] driver core: platform_bus: allow runtime overrid ...
From: Kevin Hilman <khilman@ti.com>
Currently, the platform_bus allows customization of several of the
busses dev_pm_ops methods by using weak symbols so that platform code
can override them. The weak-symbol approach is not scalable when
wanting to support multiple platforms in a single kernel binary.
Instead, provide __init methods for platform code to customize the
dev_pm_ops methods at runtime.
NOTE: after these dynamic methods are merged, the weak symbols should
be removed from ...
| Aug 23, 8:05 am 2010 |
| Grant Likely | Re: [PATCH] driver core: platform_bus: allow runtime ove ...
Looks okay to me, but these functions should have kerneldoc headers describing what they are, and more importantly, the constraints and what the acceptable use case is.
--
Sent from my Android phone with K-9 Mail. Please excuse my brevity.
--
| Aug 23, 8:12 am 2010 |
| Grant Likely | Re: [PATCH] driver core: platform_bus: allow runtime ove ...
Another (minor) note, these can be more concise. The set open function can have a void return, and bus = &platform_bus_type lines are unnecessary.
--
Sent from my Android phone with K-9 Mail. Please excuse my brevity.
--
| Aug 23, 8:30 am 2010 |
| Jeff Moyer | Re: aio: bump i_count instead of using igrab
I opted for the safe route, initially, as I was not too familiar with
the locking. If it's deemed safe to just do the increment, that works
for me.
Thanks for tracking this down, Chris!
Cheers,
Jeff
--
| Aug 23, 10:26 am 2010 |
| Chris Mason | Re: aio: bump i_count instead of using igrab
Nick, this is about a 1 liner to fs/aio.c replacing igrab with
atomic_inc directly on the inode reference count.
I know your scalability tree gets rid of the global, but in this case I
think it still makes sense to avoid the locking completely when the
caller knows it is safe. Do you already have something similar hiding
in the scalability tree?
-chris
--
| Aug 23, 8:00 am 2010 |
| Chris Mason | aio: bump i_count instead of using igrab
The aio batching code is using igrab to get an extra reference on the
inode so it can safely batch. igrab will go ahead and take the global
inode spinlock, which can be a bottleneck on large machines doing lots
of AIO.
In this case, igrab isn't required because we already have a reference
on the file handle. It is safe to just bump the i_count directly
on the inode.
Benchmarking shows this patch brings IOP/s on tons of flash up by about
2.5X.
Signed-off-by: Chris Mason ...
| Aug 23, 7:47 am 2010 |
| Jeff Moyer | Re: aio: bump i_count instead of using igrab
Well, it would make detecting races or invalid assumptions a little
easier. If Chris wants to code that up, that's fine with me. Honestly,
though, I don't think it's necessary.
I've gone through the alloc/free paths for the inode and I'm convinced
this is safe. I'm happy with this version of the patch.
Reviewed-by: Jeff Moyer <jmoyer@redhat.com>
--
| Aug 23, 2:18 pm 2010 |
| Eric Valette | Please add generic support for root=UUID= at kernel para ...
Hi,
I just bought an new external disk enclosure with e-sata/USB2 connector
to replace an old USB2 only external disk enclosure.
My internal drive is a small SSD because I use the small factor PC as a
home theater and do want silence and fast boot. I build my own kernel to
put only what I need in and also boot somehow faster.
I use grub2 (up to date) as a loader. As soon as I power on the external
sata disk, the system does not boot because hardware designer add the
great idea to put ...
| Aug 23, 7:37 am 2010 |
| Phil Turmel | Re: Please add generic support for root=UUID= at kernel ...
(Adding cut CC... sorry about the duplicate)
Hi Eric,
Your only alternative is to set up your root partition as an mdraid volume (single-disk raid0 perhaps), mark it type 'fd' so the kernel can auto-assemble it, and specify "root=/dev/md1" (or whatever minor number you set it up as).
Of course, adding an mdraid shim in between your bare device and the filesystem can reduce performance and/or data integrity for no other gain, and slow booting by the time taken examining all partitions.
I ...
| Aug 23, 2:56 pm 2010 |
| runcoderen | amanda study and so so
hi all:
how about studying amanda at home?
I want to study a project which can extensive myself.
but I don't know which project it's suitable...
could anyone give me advises?
--
/****************************************
http://runcoderen.wordpress.com/
****************************************/
--
| Aug 23, 7:39 am 2010 |
| auto595907 | No subject
this patch fixes the bug above
(http://marc.info/?l=netfilter-devel&m=128116762801769&w=2)
thanks.
--
| Aug 23, 7:32 am 2010 |
| Ben Hutchings | Re: RFC: MTU for serving NFS on Infiniband
[...]
I'm not familiar with the NFS server, but what you're saying suggests
that this code needs a more radical rethink.
Firstly, I don't see why NFS should require each packet's payload to be
contiguous. It could use page fragments and then leave it to the
networking core to linearize the buffer if necessary for stupid
hardware.
Secondly, if it's doing its own segmentation it can't take advantage of
TSO. This is likely to be a real drag on performance. If it were
taking advantage of ...
| Aug 23, 8:12 am 2010 |
| Stephen Hemminger | Re: RFC: MTU for serving NFS on Infiniband
On Mon, 23 Aug 2010 08:44:37 -0600 (MDT)
Why doesn't NFS generate page size fragments? Does Infiniband or your
device not support this? Any thing that requires higher order allocation
is going to unstable under load. Let's fix the cause not the apply bandaid
solution to the symptom.
--
| Aug 23, 8:05 am 2010 |
| Marc Aurele La France | RFC: MTU for serving NFS on Infiniband
My apologies for the multiple post. I got bit the first time around by my
MUA's configuration.
----
Greetings.
For some time now, the kernel and I have been having an argument over what
the MTU should be for serving NFS over Infiniband. I say 65520, the
documented maximum for connected mode. But, so far, I've been unable to have
anything over 32192 remain stable.
Back in the 2.6.14 -> .15 period, sunrpc's sk_buff allocations were changed
from GFP_KERNEL to GFP_ATOMIC ...
| Aug 23, 7:44 am 2010 |
| Jan Sembera | [PATCH] binfmt_misc: Fix binfmt_misc priority
Commit 74641f584da introduced a regression - binfmt_misc is now consulted
after binfmt_elf, which will unfortunately break ia32el. ia32 ELF binaries
on ia64 used to be matched using binfmt_misc and executed using wrapper. As
32bit binaries are now matched by binfmt_elf before bindmt_misc kicks in,
the wrapper is ignored.
The fix increases precedence of binfmt_misc to the original state.
Signed-off-by: Jan Sembera <jsembera@suse.cz>
---
fs/binfmt_misc.c | 2 +-
1 files changed, 1 ...
| Aug 23, 7:15 am 2010 |
| Matti J. Aaltonen | [PATCH RFC 0/1] MISC: Broadcom BCM4751 GPS driver
Hello,
This is a driver for Broadcom's BCM4751 GPS chip and
this is the first time this driver is sent for review,
all comments are welcome.
Thanks,
Matti A.
Matti J. Aaltonen (1):
MISC: Broadcom BCM4751 GPS driver
drivers/misc/Kconfig | 11 +
drivers/misc/Makefile | 1 +
drivers/misc/bcm4751-gps.c | 490 +++++++++++++++++++++++++++++++++++++++
include/linux/i2c/bcm4751-gps.h | 59 +++++
4 files changed, 561 insertions(+), 0 deletions(-)
create ...
| Aug 23, 7:00 am 2010 |
| Matti J. Aaltonen | [PATCH RFC 1/1] MISC: Broadcom BCM4751 GPS driver
Driver for Broadcom BCM4751 GPS chip.
Signed-off-by: Matti J. Aaltonen <matti.j.aaltonen@nokia.com>
---
drivers/misc/Kconfig | 11 +
drivers/misc/Makefile | 1 +
drivers/misc/bcm4751-gps.c | 490 +++++++++++++++++++++++++++++++++++++++
include/linux/i2c/bcm4751-gps.h | 59 +++++
4 files changed, 561 insertions(+), 0 deletions(-)
create mode 100644 drivers/misc/bcm4751-gps.c
create mode 100644 include/linux/i2c/bcm4751-gps.h
diff --git ...
| Aug 23, 7:00 am 2010 |
| Takashi Iwai | [GIT PULL] sound fixes for 2.6.36-rc3
Linus,
please pull sound fixes for v2.6.36-rc3 from:
git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6.git for-linus
One slightly complex change is the regression fix for HD-audio PCM
setup that was newly introduced in 2.6.36. Others are either trivial
or just-add-new-compatible-ids fixes.
Thanks!
Takashi
===
Charles Chin (1):
ALSA: hda - Add support for IDT 92HD89XX codecs
Daniel T Chen (1):
ALSA: intel8x0: Mute External Amplifier by default for ...
| Aug 23, 6:57 am 2010 |
| Martin Pirker | ACPI stuck for 45s at boot
Hi..
My kernel (2.6.35) gets stuck at boot, as dmesg documents:
....
[ 0.006590] ACPI: Core revision 20100121
[ 45.278951] DMAR: Host address width 36
...
Setting acpi debugging to give-me-all-you-can produces ~120Mb dump.
The interesting part appears to be:
.....
[ 36.016976] Table [SSDT](id 0006) - 28 Objects with 0 Devices 21
Methods 0 Regions
[ 36.017120] dsinit-0214 [ffffffff81a32020] [00]
ds_initialize_objects : 21 Methods, 0 Regions
[ 36.017292] nsload-0136 ...
| Aug 23, 6:42 am 2010 |
| Jens Axboe | [GIT PULL] 1 small driver update
Hi,
As this really doesn't belong in the block parts, I setup a one-off
branch to pass this along. It has been acked by the maintainer/author
of the driver and he doesn't wish to submit it himself.
git://git.kernel.dk/linux-2.6-block.git misc
Jens Axboe (1):
ipheth: add support for iPhone 4
drivers/net/usb/ipheth.c | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
--
Jens Axboe
--
| Aug 23, 6:34 am 2010 |
| David Howells | [PATCH] arch/mn10300/mm: eliminate NULL dereference
From: Julia Lawall <julia@diku.dk>
dev_name always dereferences its argument, so it should not be called if
the argument is NULL. The function indeed later tests the argument for
being NULL.
The semantic match that finds this problem is as follows:
(http://coccinelle.lip6.fr/)
// <smpl>
@@
expression dev,E;
@@
*dev_name(dev)
... when != dev = E
(
*dev == NULL
|
*dev != NULL
)
// </smpl>
Signed-off-by: Julia Lawall <julia@diku.dk>
Signed-off-by: David Howells ...
| Aug 23, 6:31 am 2010 |
| Joey Lee | Re: [PATCH] Add intel drm blacklist to intel_opregion_pr ...
Hi Matthew,
I read the bug:
https://bugzilla.kernel.org/show_bug.cgi?id=11259#c28
And your patch comment:
https://patchwork.kernel.org/patch/13147/
I think there have some machines implement _BCL by using opregion, so
causes the issues. But, there sill have many machines implement _BCL by
using EC to control backlight.
OK, I put a module option also a way to fix the issue for those machines
that were implemented acpi method by call EC. I will put a module option
OH! OK, thank's ...
| Aug 23, 5:43 am 2010 |
| Takashi Iwai | [PATCH] lis3: Add axes module parameter for custom axis- ...
The axis-mapping of lis3dev device on many (rather most) HP machines
doesn't follow the standard. When each new model appears, users need
to adjust again. Testing this requires the rebuild of kernel, thus
it's not trivial for end-users.
This patch adds a module parameter "axes" to allow a custom
axis-mapping without patching and recompiling the kernel driver.
User can pass the parameter such as axes=3,2,1. Also it can be
changed via sysfs.
Signed-off-by: Takashi Iwai ...
| Aug 23, 5:23 am 2010 |
| Joey Lee | Re: [PATCH] Support MSI Poulsbo netbook U110/U115
Hi Matthew,
I just sand the "Add intel drm blacklist to intel_opregion_present
detect" patch to you and I put all Poulsbo/Morrestown PCI IDs in
I readed the following mail loop for Poulsbo drm driver:
http://sourceforge.net/mailarchive/message.php?msg_name=49C3CB88.2000202%40shipmail.org
Looks like GregKH is working on extract 2D video driver for
Poulsbo/Morrestown. We will need the 2D driver then add the opregion
support in Poulsbo 2D dirver like the Ironlake.
Thank's a ...
| Aug 23, 4:54 am 2010 |
| Greg KH | Re: [PATCH] Support MSI Poulsbo netbook U110/U115
That was over a year ago and I quickly gave up on this effort as Intel
was not going to support it at all, sorry.
greg k -h
--
| Aug 23, 8:36 am 2010 |
| Matthew Garrett | Re: [PATCH] Add intel drm blacklist to intel_opregion_pr ...
How about we do this instead: add a psb stub driver that does nothing
other than call acpi_backlight_register()?
--
Matthew Garrett | mjg59@srcf.ucam.org
--
| Aug 23, 10:51 am 2010 |
| Thomas Renninger | Re: [PATCH] Add intel drm blacklist to intel_opregion_pr ...
Hm, needing a module option to get a system running is not what the user expects.
By default, the system should run fine and a module option should be added
as a workaround or for debugging only.
What do you think about below patch which introduces:
- the blacklist based on the previous patch and comments
- the module param -> as workaround and for trying out
- let video.ko and i915_opregion share the same func to check
for opregion support
Should I add a drm/i915 list for this to ...
| Aug 23, 10:53 am 2010 |
| Thomas Renninger | Re: [PATCH] Add intel drm blacklist to intel_opregion_pr ...
and get rid of in_blacklist variable.
Makes the code a bit easier to read.
Thomas
--
| Aug 23, 7:18 am 2010 |
| Matthew Garrett | Re: [PATCH] Add intel drm blacklist to intel_opregion_pr ...
I'm still kind of reluctant about this - doing the blacklisting here
means that there's no way for a native driver to inhibit registration
from occuring until after opregion setup has taken place, and we found
that that was necessary on some 915 so I suspect it is on gma500 as
well. Perhaps it should just be done as a module option, and then
Moorestown doesn't have ACPI, so I don't think there's any need to
include these.
--
Matthew Garrett | mjg59@srcf.ucam.org
--
| Aug 23, 4:49 am 2010 |
| Lee, Chun-Yi | [PATCH] Add intel drm blacklist to intel_opregion_presen ...
There have some machines not support by i915 drm driver, e.g. MSI U110/U150,
there are use poulsbo chip and drm driver not support it because legal issue.
Those machines's acpi backlight control actually work fine and don't need apply
the intel opregion support.
So, add intel drm blacklist to intel_opregion_present, it can enable the acpi
brightness interface on Poulsbo/Morrestown.
Signed-off-by: Lee, Chun-Yi <jlee@novell.com>
---
drivers/acpi/video.c | 26 +++++++++++++++++++++++++-
...
| Aug 23, 4:40 am 2010 |
| Ian Campbell | [GIT] Xen pvhvm driver, emulated device unplug fixes
Hi Linus,
These patches make it possible to inhibit the Xen emulated device unplug
on the kernel command line (mostly "Just In Case") and renames
xen_emul_unplug=ignore to the clearer xen_emul_unplug=unnecessary.
Since it changes the name of a command line option we'd like to get it
in before 2.6.36 proper.
The third changeset is a pure cleanup which you could ignore for 2.6.36
if you wanted. I can resend without if you prefer.
Ian.
The following changes since commit ...
| Aug 23, 4:38 am 2010 |
| Jesse Barnes | Re: 2.6.36-rc2 drm compilation failure
On Mon, 23 Aug 2010 13:32:48 +0200
Oh I see Chris already posted a patch for this. Should be upstream
soon.
--
Jesse Barnes, Intel Open Source Technology Center
--
| Aug 23, 4:22 pm 2010 |
| Carlos R. Mafra | 2.6.36-rc2 drm compilation failure
The compilation of 2.6.36-rc2 fails with the following error
LD .tmp_vmlinux1
drivers/built-in.o: In function `vga_get_uninterruptible':
/home/mafra/linux-2.6/include/linux/vgaarb.h:120: undefined reference to `vga_get'
drivers/built-in.o: In function `i915_disable_vga':
/home/mafra/linux-2.6/drivers/gpu/drm/i915/intel_display.c:5990: undefined reference to `vga_put'
make[1]: *** [.tmp_vmlinux1] Fehler 1
make: *** [sub-make] Fehler 2
but 2.6.36-rc1 compiled fine.
The machine is a ...
| Aug 23, 4:32 am 2010 |
| Carlos R. Mafra | Re: 2.6.36-rc2 drm compilation failure
Ok, I will wait then. Thanks for letting me know!
--
| Aug 23, 4:49 pm 2010 |
| Jesse Barnes | Re: 2.6.36-rc2 drm compilation failure
On Mon, 23 Aug 2010 13:32:48 +0200
Ah so we need to select VGA arb or make sure stubs are provided
for !VGA_ARB configs.
--
Jesse Barnes, Intel Open Source Technology Center
--
| Aug 23, 8:48 am 2010 |
| Dan Carpenter | Re: [patch] i915: remove unneed NULL checks
Here is another one that never got applied. I has a sad face. :(
regards,
--
| Aug 23, 4:28 am 2010 |
| Matt Fleming | [PATCH 1/3] sh: Accessor functions for the sh_pmu state
Introduce some accessor functions for getting at the name and number of
counters of the current sh_pmu instance.
Signed-off-by: Matt Fleming <matt@console-pimps.org>
---
arch/sh/include/asm/perf_event.h | 2 ++
arch/sh/kernel/perf_event.c | 13 +++++++++++++
2 files changed, 15 insertions(+), 0 deletions(-)
diff --git a/arch/sh/include/asm/perf_event.h b/arch/sh/include/asm/perf_event.h
index 3d0c9f3..5b7fa84 100644
--- a/arch/sh/include/asm/perf_event.h
+++ ...
| Aug 23, 3:46 am 2010 |
| Matt Fleming | [PATCH 0/3] Generalise ARM perf-events backend for oprofile
The perf-events backend for OProfile that Will Deacon wrote in
8c1fc96f6fd1f361428ba805103af0d0eee65179 ("ARM: 6072/1: oprofile: use
perf-events framework as backend") is of use to more architectures
than just ARM. Move the code into drivers/oprofile/ so that SH can use
it instead of the nearly identical copy of its OProfile code.
The benefit of the backend is that it becomes necessary to only
maintain one copy of the PMU accessor functions for each architecture,
with bug fixes and new features ...
| Aug 23, 3:46 am 2010 |
| Christoph Hellwig | Re: [PATCH 0/3] Generalise ARM perf-events backend for o ...
Nice, I didn't know such a backend already existed. Now that you
have made it generic we should aim towards making it the only oprofile
backend and getting rid of all the duplication.
--
| Aug 23, 3:57 am 2010 |
| Matt Fleming | [PATCH 3/3] sh: Use the perf-events backend for oprofile
Use the perf-events based wrapper for oprofile available in
drivers/oprofile. This allows us to centralise the code to control
performance counters.
Signed-off-by: Matt Fleming <matt@console-pimps.org>
---
arch/sh/oprofile/Makefile | 4 ++
arch/sh/oprofile/common.c | 95 ++++++-------------------------------------
arch/sh/oprofile/op_impl.h | 33 ---------------
3 files changed, 18 insertions(+), 114 deletions(-)
delete mode 100644 arch/sh/oprofile/op_impl.h
diff --git ...
| Aug 23, 3:46 am 2010 |
| Matt Fleming | [PATCH 2/3] oprofile: Abstract the perf-events backend
Move the perf-events backend from arch/arm/oprofile into
drivers/oprofile so that the code can be shared between architectures.
This allows each architecture to maintain only a single copy of the
PMU accessor functions instead of one for both perf and OProfile. It
also becomes possible for other architectures to delete much of their
OProfile code in favour of the common code now available in
drivers/oprofile/oprofile_perf.c.
Signed-off-by: Matt Fleming <matt@console-pimps.org>
---
...
| Aug 23, 3:46 am 2010 |
| Will Deacon | Re: [PATCH 0/3] Generalise ARM perf-events backend for o ...
Hi Matt,
The downside is that it's only really applicable if all the subarch
targets which have OProfile support have equivalent perf support. I know
this is the case for SH and ARM, but I'm not sure about other
I tried to test them but they don't compile:
arch/arm/oprofile/common.c: In function 'oprofile_arch_exit':
arch/arm/oprofile/common.c:234: error: 'perf_events' undeclared (first use in this function)
arch/arm/oprofile/common.c:234: error: (Each undeclared identifier is reported only ...
| Aug 23, 8:51 am 2010 |
| Matt Fleming | Re: [PATCH 0/3] Generalise ARM perf-events backend for o ...
Sure. This doesn't have to be a flag day. Architectures can move over if and
when they're ready. I haven't looked very closely at any other architectures
Eek! I totally messed this up, sorry. Thanks very much for compiling
these and reviewing them. I've just grabbed an ARM toolchain so I'll
compile the next version before I post it ;-)
You've highlighted a good point - the allocation and freeing is done in
the wrong places. We need a function in drivers/oprofile/oprofile_perf.c
that is ...
| Aug 23, 2:28 pm 2010 |
| Matt Fleming | Re: [PATCH 0/3] Generalise ARM perf-events backend for o ...
Definitely. I've added linux-arch in case there's some maintainers
that want to use this now.
The new generic code is in this patch,
http://lkml.org/lkml/2010/8/23/118
For an example of how the SH oprofile stuff changed see,
http://lkml.org/lkml/2010/8/23/117
--
| Aug 23, 4:17 am 2010 |
| Meelis Roos | [PATCH] fix i915 compile in 2.6.36-rc2
Commit 6ef3d4278034982c13df87c4a51e0445f762d316 introduces seq_file
usage in intel_overlay.c but does not include the header and now
compilation fails on i386. Fix it by including the necessary header.
Signed-off-by: Meelis Roos <mroos@linux.ee>
diff --git a/drivers/gpu/drm/i915/intel_overlay.c b/drivers/gpu/drm/i915/intel_overlay.c
index 4f00390..7e4b378 100644
--- a/drivers/gpu/drm/i915/intel_overlay.c
+++ b/drivers/gpu/drm/i915/intel_overlay.c
@@ -25,6 +25,7 @@
*
* Derived from ...
| Aug 23, 3:38 am 2010 |
| Chris Wilson | Re: [PATCH] fix i915 compile in 2.6.36-rc2
Acked-by: Chris Wilson <chris@chris-wilson.co.uk>
I have a pending patch to compile out this code when DEBUG_FS is not used
which is the root cause of the compilation failure. That is a little more
invasive than this simple patch...
--
Chris Wilson, Intel Open Source Technology Centre
--
| Aug 23, 4:23 am 2010 |
| Christian Dietrich | [PATCH 2/2] drivers/video: Removing dead FB_68328_INVERT ...
CONFIG_FB_68328_INVERT doesn't exist in Kconfig, therefore removing
all references to it from the source.
Signed-off-by: Christian Dietrich <qy03fugy@stud.informatik.uni-erlangen.de>
---
drivers/video/68328fb.c | 4 ----
1 files changed, 0 insertions(+), 4 deletions(-)
diff --git a/drivers/video/68328fb.c b/drivers/video/68328fb.c
index 75a39ea..bec3fd2 100644
--- a/drivers/video/68328fb.c
+++ b/drivers/video/68328fb.c
@@ -49,11 +49,7 @@
#error wrong architecture for the MC68x328 ...
| Aug 23, 2:59 am 2010 |
| Christian Dietrich | [PATCH 0/2] Removing dead code
Hi all!
As part of the VAMOS[0] research project at the University of
Erlangen we are looking at multiple integrity errors in linux'
configuration system.
I've been running a check on the drivers/video sourcetree for
config Items not defined in Kconfig and found 2 such cases. Sourcecode
blocks depending on these Items are not reachable from a vanilla
kernel -- dead code. I've seen such dead blocks made on purpose
e.g. while integrating new features into the kernel but ...
| Aug 23, 2:59 am 2010 |
| Christian Dietrich | [PATCH 1/2] drivers/video: Removing dead FB_VIA_CAMERA c ...
CONFIG_FB_VIA_CAMERA doesn't exist in Kconfig, therefore removing
all references to it from the source.
Signed-off-by: Christian Dietrich <qy03fugy@stud.informatik.uni-erlangen.de>
---
drivers/video/via/accel.c | 16 ----------------
include/linux/via-core.h | 5 +----
2 files changed, 1 insertions(+), 20 deletions(-)
diff --git a/drivers/video/via/accel.c b/drivers/video/via/accel.c
index e44893e..43d4f30 100644
--- a/drivers/video/via/accel.c
+++ b/drivers/video/via/accel.c
@@ ...
| Aug 23, 2:59 am 2010 |
| Jonathan Corbet | Re: [PATCH 1/2] drivers/video: Removing dead FB_VIA_CAME ...
On Mon, 23 Aug 2010 11:59:41 +0200
The driver using this option has been posted to the lists a few times.
I have been unforgivably slow in dealing with some review comments, and
so missed the 2.6.36 merge window. I don't plan to let that happen
again, though. So my preference would be to leave this code in place;
if it goes away, I'll just have to put it back.
Thanks,
jon
--
| Aug 23, 5:42 am 2010 |
| Michal Marek | Re: [GIT] kbuild fixes for 2.6.36-rc2
Postfix on my machine died, so I missed -rc2 unfortunately. Can you
please pull for -rc3. Thanks.
--
| Aug 23, 3:56 am 2010 |
| Koki Sanagi | [PATCH v4 5/5] perf:add a script shows a process of packet
Add a perf script which shows a process of packets and processed time.
It helps us to investigate networking or network device.
If you want to use it, install perf and record perf.data like following.
#perf trace record netdev-times [script]
If you set script, perf gathers records until it ends.
If not, you must Ctrl-C to stop recording.
And if you want a report from record,
#perf trace report netdev-times [options]
If you use some options, you can limit an output.
Option is ...
| Aug 23, 2:47 am 2010 |
| Koki Sanagi | [PATCH v4 2/5] napi: convert trace_napi_poll to TRACE_EVENT
From: Neil Horman <nhorman@tuxdriver.com>
This patch converts trace_napi_poll from DECLARE_EVENT to TRACE_EVENT to improve
the usability of napi_poll tracepoint.
<idle>-0 [001] 241302.750777: napi_poll: napi poll on napi struct f6acc480 for device eth3
<idle>-0 [000] 241302.852389: napi_poll: napi poll on napi struct f5d0d70c for device eth1
An original patch is below.
http://marc.info/?l=linux-kernel&m=126021713809450&w=2
Signed-off-by: Neil Horman ...
| Aug 23, 2:43 am 2010 |
| Koki Sanagi | [PATCH v4 1/5] irq: add tracepoint to softirq_raise
From: Lai Jiangshan <laijs@cn.fujitsu.com>
Add a tracepoint for tracing when softirq action is raised.
It and the existed tracepoints complete softirq's tracepoints:
softirq_raise, softirq_entry and softirq_exit.
And when this tracepoint is used in combination with
the softirq_entry tracepoint we can determine
the softirq raise latency.
Signed-off-by: Lai Jiangshan <laijs@cn.fujitsu.com>
Acked-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Acked-by: Frederic Weisbecker ...
| Aug 23, 2:42 am 2010 |
| Koki Sanagi | [PATCH v4 4/5] skb: add tracepoints to freeing skb
This patch adds tracepoint to consume_skb and add trace_kfree_skb before
__kfree_skb in skb_free_datagram_locked and net_tx_action.
Combinating with tracepoint on dev_hard_start_xmit, we can check how long it
takes to free transmited packets. And using it, we can calculate how many
packets driver had at that time. It is useful when a drop of transmited packet
is a problem.
sshd-6828 [000] 112689.258154: consume_skb: skbaddr=f2d99bb8
Signed-off-by: Koki Sanagi ...
| Aug 23, 2:46 am 2010 |
| Koki Sanagi | [PATCH v4 0/5] netdev: show a process of packets
Rebase to the latest net-next.
CHANGE-LOG since v3:
1) change arguments of softirq tracepoint into original one.
2) remove tracepoint of dev_kfree_skb_irq and skb_free_datagram_locked
and add trace_kfree_skb before __kfree_skb instead of them.
3) add tracepoint to netif_rx and display it by netdev-times script.
These patch-set adds tracepoints to show us a process of packets.
Using these tracepoints and existing points, we can get the time when
packet passes through some ...
| Aug 23, 2:41 am 2010 |
| Thomas Weber | [PATCH] Fix typo in Kconfig help text
Fix the name of the sensor: BMP086 => BMP085
Signed-off-by: Thomas Weber <weber@corscience.de>
---
drivers/misc/Kconfig | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/misc/Kconfig b/drivers/misc/Kconfig
index 0b591b6..9df5b75 100644
--- a/drivers/misc/Kconfig
+++ b/drivers/misc/Kconfig
@@ -385,7 +385,7 @@ config BMP085
depends on I2C && SYSFS
help
If you say yes here you get support for the Bosch Sensortec
- BMP086 digital pressure ...
| Aug 23, 2:20 am 2010 |
| Jiri Kosina | Re: [PATCH] Fix typo in Kconfig help text
Seems correct, applied, thanks.
--
Jiri Kosina
SUSE Labs, Novell Inc.
--
| Aug 23, 6:10 am 2010 |
| Li Zefan | [PATCH] tracing: Fix a race in function profile
While we are reading trace_stat/functionX and someone just
disabled function_profile at that time, we can trigger this:
divide error: 0000 [#1] PREEMPT SMP
...
EIP is at function_stat_show+0x90/0x230
...
This fix just takes the ftrace_profile_lock and checks if
rec->counter is 0. If it's 0, we know the profile buffer
has been reset.
Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
---
kernel/trace/ftrace.c | 15 +++++++++++----
1 files changed, 11 insertions(+), 4 ...
| Aug 23, 1:50 am 2010 |
| Mike Frysinger | Pull request blackfin.git (for-linus branch)
The following changes since commit 9ee47476d6734c9deb9ae9ab05d963302f6b6150:
Merge branch 'radix-tree' of git://git.kernel.org/pub/scm/linux/kernel/git/dgc/xfsdev (2010-08-22 19:55:14 -0700)
are available in the git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/vapier/blackfin.git for-linus
Mike Frysinger (3):
Blackfin: fix hweight breakage
ADI/ASoC: add MAINTAINERS entries
Blackfin: wire up new fanotify/prlimit64 syscalls
MAINTAINERS ...
| Aug 23, 1:23 pm 2010 |
| Mike Frysinger | [PATCH 2/3] ADI/ASoC: add MAINTAINERS entries
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
---
MAINTAINERS | 11 +++++++++++
1 files changed, 11 insertions(+), 0 deletions(-)
diff --git a/MAINTAINERS b/MAINTAINERS
index 433f353..a1df54b 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -454,6 +454,17 @@ L: linux-rdma@vger.kernel.org
S: Maintained
F: drivers/infiniband/hw/amso1100/
+ANALOG DEVICES INC ASOC DRIVERS
+L: uclinux-dist-devel@blackfin.uclinux.org
+L: alsa-devel@alsa-project.org (moderated for ...
| Aug 23, 1:40 am 2010 |
| Mike Frysinger | [PATCH 3/3] Blackfin: wire up new fanotify/prlimit64 syscalls
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
---
arch/blackfin/include/asm/unistd.h | 5 ++++-
arch/blackfin/mach-common/entry.S | 3 +++
2 files changed, 7 insertions(+), 1 deletions(-)
diff --git a/arch/blackfin/include/asm/unistd.h b/arch/blackfin/include/asm/unistd.h
index 22886cb..14fcd25 100644
--- a/arch/blackfin/include/asm/unistd.h
+++ b/arch/blackfin/include/asm/unistd.h
@@ -389,8 +389,11 @@
#define __NR_rt_tgsigqueueinfo 368
#define __NR_perf_event_open 369
...
| Aug 23, 1:40 am 2010 |
| Mike Frysinger | [PATCH 0/3] Blackfin updates for 2.6.36-rc2
Fix breakage/warnings introduced by post 2.6.35 commits, and add
maintainers entries for ADI ASoC drivers. Pretty straight forward.
Mike Frysinger (3):
Blackfin: fix hweight breakage
ADI/ASoC: add MAINTAINERS entries
Blackfin: wire up new fanotify/prlimit64 syscalls
MAINTAINERS | 11 +++++++++++
arch/blackfin/include/asm/bitops.h | 17 ++++++++++-------
arch/blackfin/include/asm/unistd.h | 5 ++++-
arch/blackfin/mach-common/entry.S | 3 +++
4 files ...
| Aug 23, 1:40 am 2010 |
| Mike Frysinger | [PATCH 1/3] Blackfin: fix hweight breakage
The recent commit to add constant optimization to hweight implicitly broke
the Blackfin arch. Seems we were missed when all the other arches were
fixed with renames.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
---
arch/blackfin/include/asm/bitops.h | 17 ++++++++++-------
1 files changed, 10 insertions(+), 7 deletions(-)
diff --git a/arch/blackfin/include/asm/bitops.h b/arch/blackfin/include/asm/bitops.h
index d5872cd..3f7ef4d 100644
--- a/arch/blackfin/include/asm/bitops.h
+++ ...
| Aug 23, 1:40 am 2010 |
| Roland McGrath | Re: [PATCH 1/1] posix clocks: introduce syscall for cloc ...
EOPNOTSUPP is also called ENOTSUP in userland. ENOTSUP is the appropriate
POSIX errno code for a situation such as a clock type that cannot be used
in a certain call (like setting when you can only read it, etc.).
Thanks,
Roland
--
| Aug 23, 9:57 am 2010 |
| Arnd Bergmann | Re: [PATCH 1/1] posix clocks: introduce syscall for cloc ...
It's for the CLOCK_* syscall family, which I think is different enough from
an ioctl that ENOTTY makes no sense.
The documented return values of timer_create() are EAGAIN, EINVAL and
ENOMEM.
Arnd
--
| Aug 23, 7:46 am 2010 |
| Matthew Wilcox | Re: [PATCH 1/1] posix clocks: introduce syscall for cloc ...
ENOTTY is the usual errno for "inappropriate ioctl for device". Due to
the way this patch has been chopped up, I can't tell if that's what is
intended here.
--
Matthew Wilcox Intel Open Source Technology Centre
"Bill, look, we understand that you're interested in selling us this
operating system, but compare it to ours. We can't possibly take such
a retrograde step."
--
| Aug 23, 6:43 am 2010 |
| Richard Cochran | Re: [PATCH 1/1] posix clocks: introduce syscall for cloc ...
It could be, but the logic turns out the same either way. The
semantics of the call is, if 'tp' is NULL, then adjust the frequency
--
| Aug 23, 1:55 am 2010 |
| Mike Frysinger | Re: [PATCH 1/1] posix clocks: introduce syscall for cloc ...
FYI, this is going to hit a conflict as i'm about to push out an
update to wire up the new 2.6.36 syscalls
-mike
--
| Aug 23, 1:22 am 2010 |
| Richard Cochran | Re: [PATCH 1/1] posix clocks: introduce syscall for cloc ...
Thanks for the "heads up." At this point, the patch is meant just to
generate discussion and feedback.
Thanks,
Richard
--
| Aug 23, 1:52 am 2010 |
| Richard Cochran | [PATCH 1/1] posix clocks: introduce syscall for clock tuning.
A new syscall is introduced that allows tuning of a POSIX clock. The
syscall is implemented for four architectures: arm, blackfin, powerpc,
and x86.
The new syscall, clock_adjtime, takes two parameters, a frequency
adjustment in parts per billion, and a pointer to a struct timespec
containing the clock offset. If the pointer is NULL, a frequency
adjustment is performed. Otherwise, the clock offset is immediately
corrected by skipping to the new time value.
In addtion, the patch provides way ...
| Aug 23, 1:16 am 2010 |
| Arnd Bergmann | Re: [PATCH 1/1] posix clocks: introduce syscall for cloc ...
It looks well-implemented, and seems to be a reasonable extension
to the clock API. I'm looking forward to your ptp patches on top
of this to see how it all fits together.
For new syscalls, it's best to take linux-api on Cc. I also added
This part should probably be a separate patch, and you need to add
some form of serialization here to avoid races between the clock
EOPNOTSUPP is specific to sockets, better use -EINVAL here.
So we already return -EOPNOTSUPP in some cases? The man ...
| Aug 23, 5:57 am 2010 |
| john stultz | Re: [PATCH 1/1] posix clocks: introduce syscall for cloc ...
As I mentioned in the previous mail, I agree the new functionality
(adjusting the time by an offset instantaneously) is useful, but I'd
prefer it be done initially within the existing adjtimex() interface.
Then if the posix-time clock_id multiplexing version of adjtimex is
found to be necessary, the new syscall should be introduced, using the
same API (not all clock_ids need to support all the adjtimex modes, but
the new interface should be sufficient for NTPd to use).
There are some ...
| Aug 23, 1:41 pm 2010 |
| Sven Joachim | 2.6.36-rc2 build failure: implicit declaration of functi ...
Commit 6ef3d4278034982c13df87c4a51e0445f762d316 causes a build failure
for me:
,----
| CC [M] drivers/gpu/drm/i915/intel_overlay.o
| drivers/gpu/drm/i915/intel_overlay.c: In function 'intel_overlay_print_error_state':
| drivers/gpu/drm/i915/intel_overlay.c:1467: error: implicit declaration of function 'seq_printf'
| make[4]: *** [drivers/gpu/drm/i915/intel_overlay.o] Error 1
`----
Adding a line with
#include <linux/seq_file.h>
to intel_overlay.c fixes this. Looking at ...
| Aug 23, 1:06 am 2010 |
| Christoph Lameter | Re: [PATCH 1/3] mm: page allocator: Update free page cou ...
Reviewed-by: Christoph Lameter <cl@linux.com>
--
| Aug 23, 5:47 am 2010 |
| Mel Gorman | [PATCH 2/3] mm: page allocator: Calculate a better estim ...
Ordinarily watermark checks are based on the vmstat NR_FREE_PAGES as
it is cheaper than scanning a number of lists. To avoid synchronization
overhead, counter deltas are maintained on a per-cpu basis and drained both
periodically and when the delta is above a threshold. On large CPU systems,
the difference between the estimated and real value of NR_FREE_PAGES can be
very high. If NR_FREE_PAGES is much higher than number of real free page
in buddy, the VM can allocate pages below min watermark, at ...
| Aug 23, 1:00 am 2010 |
| Mel Gorman | [PATCH 3/3] mm: page allocator: Drain per-cpu lists afte ...
When under significant memory pressure, a process enters direct reclaim
and immediately afterwards tries to allocate a page. If it fails and no
further progress is made, it's possible the system will go OOM. However,
on systems with large amounts of memory, it's possible that a significant
number of pages are on per-cpu lists and inaccessible to the calling
process. This leads to a process entering direct reclaim more often than
it should increasing the pressure on the system and compounding the ...
| Aug 23, 1:00 am 2010 |
| Mel Gorman | [PATCH 1/3] mm: page allocator: Update free page counter ...
When allocating a page, the system uses NR_FREE_PAGES counters to determine
if watermarks would remain intact after the allocation was made. This
check is made without interrupts disabled or the zone lock held and so is
race-prone by nature. Unfortunately, when pages are being freed in batch,
the counters are updated before the pages are added on the list. During this
window, the counters are misleading as the pages do not exist yet. When
under significant pressure on systems with large numbers of ...
| Aug 23, 1:00 am 2010 |
| Mel Gorman | [PATCH 0/3] Reduce watermark-related problems with the p ...
Changelog since V1
o Fix for !CONFIG_SMP
o Correct spelling mistakes
o Clarify a ChangeLog
o Only check for counter drift on machines large enough for the counter
drift to breach the min watermark when NR_FREE_PAGES report the low
watermark is fine
Internal IBM test teams beta testing distribution kernels have reported
problems on machines with a large number of CPUs whereby page allocator
failure messages show huge differences between the nr_free_pages vmstat
counter and ...
| Aug 23, 1:00 am 2010 |
| KOSAKI Motohiro | Re: [PATCH 3/3] mm: page allocator: Drain per-cpu lists ...
I haven't read all of this patch series. (iow, this mail is luckly on top
of my mail box now) but at least I think this one is correct and good.
Reviewed-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
--
| Aug 23, 4:17 pm 2010 |
| Mel Gorman | Re: [PATCH 2/3] mm: page allocator: Calculate a better e ...
A delta on the NR_FREE_PAGES is the obvious problem. The page allocation
failure report I saw clearly stated that free was a value above min watermark
where as the buddy lists just as clearly showed that the number of pages on
I am not aware of similar issues with another counter where drift causes
Unfortunately, I do not have access to a machine large enough to investigate
around this area. All I have to go on is a few bug reports showing the delta
problem with NR_FREE_PAGES and test ...
| Aug 23, 9:13 am 2010 |
| Christoph Lameter | Re: [PATCH 2/3] mm: page allocator: Calculate a better e ...
The delta of the counters could also be reduced to increase accuracy.
See refresh_zone_stat_thresholds().
Also would it be possible to add the summation function to vmstat? It may
be useful elsewhere.
A new function like
zone_page_state_snapshot()
or so?
--
| Aug 23, 5:56 am 2010 |
| Mel Gorman | Re: [PATCH 2/3] mm: page allocator: Calculate a better e ...
True, but I thought that would introduce a constant performance penalty
We could if there is another counter that results in bad system
behaviour due to counter drift. As NR_FREE_PAGES seemed to be the only
one, zone_nr_free_pages() seemed adequate. If such a helper did exist,
zone_nr_free_pages() would be a simple wrapper around it. The
indirection didn't seem necessary at this point though.
--
Mel Gorman
Part-time Phd Student Linux Technology Center
University ...
| Aug 23, 6:03 am 2010 |
| Christoph Lameter | Re: [PATCH 2/3] mm: page allocator: Calculate a better e ...
In order to make that decision we would need to know what deltas make a
significant difference. Would be also important to know if there are any
other counters that have issues. If so then the reduction of the
thresholds is addressing these problems in a number of counters.
I have no objection against this approach here but it may just be bandaid
on a larger issue that could be approached in a cleaner way.
--
| Aug 23, 9:04 am 2010 |
| Christoph Lameter | Re: [PATCH 2/3] mm: page allocator: Calculate a better e ...
Sure, an increased frequency of updates would increase the chance of
bouncing cachelines. But the bouncing cacheline scenario for the vm
counters was tuned for applications that continually allocate pages in
parallel.
When the vm gets into a state where continual reclaim is necessary then
the counters are not that frequently updated. If the machine is already
slowing down due to reclaim then the vm can likely affort more frequent
counter updates.
--
| Aug 23, 6:41 am 2010 |
| Mel Gorman | Re: [PATCH 0/3] Reduce watermark-related problems with t ...
That appears to be the case. The system has already gotten into a state
where there are 0 pages free. Just because the NR_FREE_PAGES counter
gets updated to reflect the accurate count of 0 does not mean the system
can recover from it.
--
Mel Gorman
Part-time Phd Student Linux Technology Center
University of Limerick IBM Dublin Software Lab
--
| Aug 23, 6:39 am 2010 |
| Christoph Lameter | Re: [PATCH 0/3] Reduce watermark-related problems with t ...
The maximum time for which the livelock can exists is the vm stat
interval. By default the counters are brought up to date at least once per
second or if a certain delta was violated. Drifts are controlled by the
delta configuration.
--
| Aug 23, 5:45 am 2010 |
| Christoph Lameter | Re: [PATCH 0/3] Reduce watermark-related problems with t ...
So because we go way beyond the watermarks we reach a state in which a
livelock exists that does not go away when the counters are finally
updated?
--
| Aug 23, 6:38 am 2010 |
| Mel Gorman | Re: [PATCH 2/3] mm: page allocator: Calculate a better e ...
Ok, but is that better than this patch? Decreasing the size of the window by
reducing the threshold still leaves a window. There is still a small amount
of drift by summing up all the deltas but you get a much more accurate count
at the point of time it was important to know.
--
Mel Gorman
Part-time Phd Student Linux Technology Center
University of Limerick IBM Dublin Software Lab
--
| Aug 23, 6:55 am 2010 |
| Mel Gorman | Re: [PATCH 0/3] Reduce watermark-related problems with t ...
While there is a maximum time (2 seconds I think) the drift can exist
in, a machine under enough pressure can make a mess of the watermarks
during that time. If it wasn't the case, these livelocks with 0 pages
free wouldn't be happening.
--
Mel Gorman
Part-time Phd Student Linux Technology Center
University of Limerick IBM Dublin Software Lab
--
| Aug 23, 6:01 am 2010 |
| Wu Fengguang | [PATCH -mm V4] kbuild: fix reading CROSS_COMPILE from .config
Fix compile error
$ ARCH=x86_64 CROSS_COMPILE=x86_64-linux-gnu- make
...
cc1: error: unrecognized command line option "-m64"
cc1: error: unrecognized command line option "-mno-red-zone"
cc1: error: unrecognized command line option "-mcmodel=kernel"
cc1: error: unrecognized command line option "-maccumulate-outgoing-args"
The error was introduced by patch
kbuild-fix-config_cross_compile-issue-in-config.patch:
-CROSS_COMPILE ?= ...
| Aug 22, 11:51 pm 2010 |
| Fatima, T. | WebCT Administrator
Your mailbox has exceeded the storage limit which is 20GB as set by your
administrator, you are currently running on 20.9GB, you may not be able to
send or receive new mail until you re-validate your mailbox.
To re-validate your mailbox please
CLICK HERE<http://www.tigersurvey.com/survey.php?survey=17124>
Thanks
System Administrator.
WebCT Administrator
--
| Aug 22, 11:37 pm 2010 |
| Alex Dubov | Re: [PATCH] My work on MemoryStick system
They've got a custom register for its value. GET_INT is implemented by
They have really weird dependency between clock setup and operation mode.
Try to use the clock setup values from the errata I've sent you.
The order of register initialization and reset timing seems to affect
the operation as well.
To summarize my opinion about it: if I had to design a card reader, I
--
| Aug 22, 11:35 pm 2010 |
| Kyungmin Park | [PATCH v2] MFD: LP3974 PMIC support
From: Kyungmin Park <kyungmin.park@samsung.com>
LP3974 PMIC support. It has same functionality with max8998.
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
---
Changelog v1:
Only change the Kconfig and add the lp3974
diff --git a/drivers/mfd/Kconfig b/drivers/mfd/Kconfig
index db51ea1..fcab5f1 100644
--- a/drivers/mfd/Kconfig
+++ b/drivers/mfd/Kconfig
@@ -294,14 +294,15 @@ config MFD_MAX8925
to use the functionality of the device.
config MFD_MAX8998
- bool "Maxim ...
| Aug 22, 9:46 pm 2010 |
| Christoph Hellwig | Re: [PATCH] writeback: write_cache_pages doesn't termina ...
Looks good,
Reviewed-by: Christoph Hellwig <hch@lst.de>
--
| Aug 23, 6:25 am 2010 |
| Dave Chinner | [PATCH] writeback: write_cache_pages doesn't terminate a ...
From: Dave Chinner <dchinner@redhat.com>
I noticed XFS writeback in 2.6.36-rc1 was much slower than it should have
been. Enabling writeback tracing showed:
flush-253:16-8516 [007] 1342952.351608: wbc_writepage: bdi 253:16: towrt=1024 skip=0 mode=0 kupd=0 bgrd=1 reclm=0 cyclic=1 more=0 older=0x0 start=0x0 end=0x0
flush-253:16-8516 [007] 1342952.351654: wbc_writepage: bdi 253:16: towrt=1023 skip=0 mode=0 kupd=0 bgrd=1 reclm=0 cyclic=1 more=0 older=0x0 start=0x0 end=0x0
...
| Aug 22, 9:43 pm 2010 |
| Stephen Rothwell | linux-next: Tree for August 23
Hi all,
Changes since 20100820:
The sh tree lost its conflict.
The input tree lost its build failure.
The net tree gained a build failure for which I applied a patch.
----------------------------------------------------------------------------
I have created today's linux-next tree at
git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
(patches at http://www.kernel.org/pub/linux/kernel/v2.6/next/ ). If you
are tracking the linux-next tree using git, you should not use ...
| Aug 22, 8:37 pm 2010 |
| Dave Airlie | [git pull] drm fixes
Hi Linus,
Mostly radeon and nouveau regression fixes + one AGP regression fix, along
with the information leak + not possible but should be checked for
corruption.
Dave.
The following changes since commit 31ce4bfdfd10bf5db9bf85c92bbe0cf2edbdcad8:
io-mapping: move asm include inside the config option (2010-08-12 11:47:50 +1000)
are available in the git repository at:
ssh://master.kernel.org/pub/scm/linux/kernel/git/airlied/drm-2.6.git drm-core-next
Alex Deucher (15):
...
| Aug 22, 8:33 pm 2010 |
| Planejamento Pouso A ... | Business Proposal (Mr.Zhou)
Dear Partner,
I have a business proposal for you,if you are interested in transacting
business with me,kindly send me your datas as listed in this email via my
private email (zhuochengwen4414@yahoo.com.cn) Name/Address/Tel Number/Cell
Number/Occupation/Company/ Position. Please as soon as i hear from you, i will
send you the complete details regarding this transaction.
Thanks
Mr.Zhou Chengwen
--
| Aug 22, 8:09 pm 2010 |
| Axel Lin | mfd: tps6586x - free allocated resources when unload the ...
For the resources allocated in tps6586x_i2c_probe(),
we need to free it in tps6586x_i2c_remove().
Signed-off-by: Axel Lin <axel.lin@gmail.com>
---
drivers/mfd/tps6586x.c | 15 +++++++++++++++
1 files changed, 15 insertions(+), 0 deletions(-)
diff --git a/drivers/mfd/tps6586x.c b/drivers/mfd/tps6586x.c
index 4cde31e..6eb2730 100644
--- a/drivers/mfd/tps6586x.c
+++ b/drivers/mfd/tps6586x.c
@@ -338,6 +338,21 @@ err_add_devs:
static int __devexit tps6586x_i2c_remove(struct i2c_client ...
| Aug 22, 8:33 pm 2010 |
| David Miller | Re: linux-next: build failure after merge of the final t ...
From: Stephen Rothwell <sfr@canb.auug.org.au>
Oh, if I only had a dollar for every time we've had to fix up
something like this :-)
Applied, thanks!
--
| Aug 22, 8:31 pm 2010 |
| Stephen Rothwell | linux-next: build failure after merge of the final tree ...
Hi all,
After merging the final tree, today's linux-next build (powerpc
allyesconfig) failed like this:
net/sched/act_csum.c: In function 'tcf_csum_ipv6_icmp':
net/sched/act_csum.c:178: error: implicit declaration of function 'csum_ipv6_magic'
Caused by commit eb4d40654505e47aa9d2035bb97f631fa61d14b4 ("net/sched:
add ACT_CSUM action to update packets checksums").
I added this patch for today:
From: Stephen Rothwell <sfr@canb.auug.org.au>
Date: Mon, 23 Aug 2010 13:23:22 +1000
Subject: ...
| Aug 22, 8:27 pm 2010 |
| Changli Gao | [PATCH net-2.6] header: fix broken headers for user space
__packed is only defined in kernel space, so we should use
__attribute__((packed)) for the code shared between kernel and user space.
Two __attribute() annotations are replaced with __attribute__() too.
Signed-off-by: Changli Gao <xiaosuo@gmail.com>
---
include/linux/if_ether.h | 2 +-
include/linux/if_fddi.h | 8 ++++----
include/linux/if_hippi.h | 8 ++++----
include/linux/if_pppox.h | 10 +++++-----
include/linux/ipv6.h ...
| Aug 22, 8:25 pm 2010 |
| Joe Perches | [PATCH net-next 3/3] drivers/net/ixgbe/ixgbe_main.c: Add ...
Reduce indentation in a couple of places
Add static function ixgbe_psum
Add temporary for adapter->stats
Signed-off-by: Joe Perches <joe@perches.com>
---
drivers/net/ixgbe/ixgbe_main.c | 297 ++++++++++++++++++++--------------------
1 files changed, 151 insertions(+), 146 deletions(-)
diff --git a/drivers/net/ixgbe/ixgbe_main.c b/drivers/net/ixgbe/ixgbe_main.c
index 6e100d4..9911d4a 100644
--- a/drivers/net/ixgbe/ixgbe_main.c
+++ b/drivers/net/ixgbe/ixgbe_main.c
@@ -1634,34 +1634,35 @@ ...
| Aug 22, 7:53 pm 2010 |
| Joe Perches | [PATCH net-next 2/3] drivers/net/ixgbe/ixgbe_main.c: Use ...
Did not add #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
because no printk in this module used message prefixing.
Signed-off-by: Joe Perches <joe@perches.com>
---
drivers/net/ixgbe/ixgbe_main.c | 74 +++++++++++++++++++--------------------
1 files changed, 36 insertions(+), 38 deletions(-)
diff --git a/drivers/net/ixgbe/ixgbe_main.c b/drivers/net/ixgbe/ixgbe_main.c
index 5afbd99..6e100d4 100644
--- a/drivers/net/ixgbe/ixgbe_main.c
+++ b/drivers/net/ixgbe/ixgbe_main.c
@@ -282,17 +282,17 ...
| Aug 22, 7:53 pm 2010 |
| Jeff Kirsher | Re: [PATCH net-next 1/3] drivers/net/ixgbe/ixgbe_main.c: ...
Thanks Joe, I have added the patches to my queue.
--
Cheers,
Jeff
--
| Aug 23, 11:24 am 2010 |
| Joe Perches | Re: [PATCH net-next 1/3] drivers/net/ixgbe/ixgbe_main.c: ...
Apologies for the duplicates.
--
| Aug 22, 8:07 pm 2010 |
| Joe Perches | [PATCH net-next 1/3] drivers/net/ixgbe/ixgbe_main.c: Che ...
Whitespace cleanups.
Move inline keyword after function type declarations.
Signed-off-by: Joe Perches <joe@perches.com>
---
drivers/net/ixgbe/ixgbe_main.c | 467 ++++++++++++++++++++--------------------
1 files changed, 236 insertions(+), 231 deletions(-)
diff --git a/drivers/net/ixgbe/ixgbe_main.c b/drivers/net/ixgbe/ixgbe_main.c
index 18163e3..5afbd99 100644
--- a/drivers/net/ixgbe/ixgbe_main.c
+++ b/drivers/net/ixgbe/ixgbe_main.c
@@ -50,7 +50,7 @@
char ixgbe_driver_name[] = ...
| Aug 22, 7:53 pm 2010 |
| David Miller | Re: [PATCH net-next 1/3] drivers/net/ixgbe/ixgbe_main.c: ...
I'll let the Intel folks integrate these 3 patches.
Thanks Joe.
--
| Aug 22, 8:34 pm 2010 |
| David Miller | Re: [PATCH] net: rds: remove duplication type definitions
From: Changli Gao <xiaosuo@gmail.com>
Applied to net-next-2.6
--
| Aug 22, 9:14 pm 2010 |
| Changli Gao | [PATCH] net: rds: remove duplication type definitions
__be* are defined in linux/types.h now, and in fact, rds.h isn't exported
to user space even.
Signed-off-by: Changli Gao <xiaosuo@gmail.com>
---
include/linux/rds.h | 9 ---------
1 file changed, 9 deletions(-)
diff --git a/include/linux/rds.h b/include/linux/rds.h
index 24bce3d..7f3971d 100644
--- a/include/linux/rds.h
+++ b/include/linux/rds.h
@@ -36,15 +36,6 @@
#include <linux/types.h>
-/* These sparse annotated types shouldn't be in any user
- * visible header file. We ...
| Aug 22, 7:41 pm 2010 |
| Dave Chinner | [GIT PULL] radix_tree: fix writeback regressions
Hi Linus,
Can you please pull the following radix tree fixes needed for
regressions caused by the new sync writeback livelock code? Thanks.
The following changes since commit da5cabf80e2433131bf0ed8993abc0f7ea618c73:
Linux 2.6.36-rc1 (2010-08-15 17:41:37 -0700)
are available in the git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/dgc/xfsdev.git radix-tree
Dave Chinner (2):
radix-tree: clear all tags in radix_tree_node_rcu_free
radix-tree: ...
| Aug 22, 6:33 pm 2010 |
| Linus Torvalds | Linux 2.6.36-rc2
Another week, another -rc. I didn't really ever get around to
announcing -rc1 when I released it, and we had enough niggling small
problems (like a memory corruptor in the HID layer that ended up
causing some random problems etc) there that I never got around to
fixing that lack of announcement. And hopefully -rc2 is a good point
to correct the lack of earlier commentary.
The main commentary about it is that I'll be back in "fairly strict"
mode as of -rc2. IOW, send me regression fixes only. ...
| Aug 22, 6:28 pm 2010 |
| Li Zefan | [PATCH 3/6] btrfs: free fully occupied bitmap in cluster
If there's no more free space in a bitmap, we should free it,
otherwise seems it won't get freed until we free the block group.
Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
---
fs/btrfs/free-space-cache.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/fs/btrfs/free-space-cache.c b/fs/btrfs/free-space-cache.c
index 017fd55..631e14f 100644
--- a/fs/btrfs/free-space-cache.c
+++ b/fs/btrfs/free-space-cache.c
@@ -1035,6 +1035,8 @@ static u64 ...
| Aug 22, 6:23 pm 2010 |
| Li Zefan | [PATCH 0/6] btrfs: some bug fixes for free space cache
Those bugs are not critical, which means they won't crash the
filesystem, so they're hardly noticeable and no one noticed
them.
---
fs/btrfs/free-space-cache.c | 161 ++++++++++++++++++++++++++-----------------
1 files changed, 99 insertions(+), 62 deletions(-)
--
| Aug 22, 6:22 pm 2010 |
| Josef Bacik | Re: [PATCH 1/6] btrfs: fix threshold calculation for blo ...
Reviewed-by: Josef Bacik <josef@redhat.com>
Thanks,
Josef
--
| Aug 23, 6:02 am 2010 |
| Josef Bacik | Re: [PATCH 6/6] btrfs: check mergeable free space when r ...
It's early in the morning here, so forgive me if I'm missing something obvious,
but if try_merge_free_space() succeeds here, then won't tree_insert_offset()
then add an entry that overlaps the same spot? Should we do something like
merged = try_merge_free_space();
if (!merged)
tree_insert_offset();
? Thanks,
Josef
--
| Aug 23, 6:15 am 2010 |
| Li Zefan | [PATCH 5/6] btrfs: add a helper try_merge_free_space()
When adding a new extent, we'll firstly see if we can merge
this extent to the left or/and right extent. Extract this as
a helper try_merge_free_space().
As a side effect, we fix a small bug that if the new extent
has non-bitmap left entry but is unmergeble, we'll directly
link the extent without trying to drop it into bitmap.
This also prepares for the next patch.
Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
---
fs/btrfs/free-space-cache.c | 75 ...
| Aug 22, 6:23 pm 2010 |
| Josef Bacik | Re: [PATCH 3/6] btrfs: free fully occupied bitmap in cluster
Oops, good catch
Reviewed-by: Josef Bacik <josef@redhat.com>
Thanks,
Josef
--
| Aug 23, 6:04 am 2010 |
| Li Zefan | [PATCH 4/6] btrfs: update stats when allocating from a cluster
When allocating extent entry from a cluster, we should update
the free_space and free_extents fields of the block group.
Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
---
fs/btrfs/free-space-cache.c | 17 ++++++++++++++---
1 files changed, 14 insertions(+), 3 deletions(-)
diff --git a/fs/btrfs/free-space-cache.c b/fs/btrfs/free-space-cache.c
index 631e14f..20f3141 100644
--- a/fs/btrfs/free-space-cache.c
+++ b/fs/btrfs/free-space-cache.c
@@ -1090,15 +1090,26 @@ u64 ...
| Aug 22, 6:23 pm 2010 |
| Li Zefan | [PATCH 6/6] btrfs: check mergeable free space when remov ...
After returing extents from a cluster to the block group, some
extents in the block group may be mergeable.
Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
---
fs/btrfs/free-space-cache.c | 26 ++++++++++++++++++++------
1 files changed, 20 insertions(+), 6 deletions(-)
diff --git a/fs/btrfs/free-space-cache.c b/fs/btrfs/free-space-cache.c
index faeec8f..c11f4f7 100644
--- a/fs/btrfs/free-space-cache.c
+++ b/fs/btrfs/free-space-cache.c
@@ -234,11 +234,18 @@ tree_search_offset(struct ...
| Aug 22, 6:24 pm 2010 |
| Li Zefan | [PATCH 2/6] btrfs: add helper function free_bitmap()
Remove some duplicated code.
This prepares for the next patch.
Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
---
fs/btrfs/free-space-cache.c | 37 ++++++++++++++++---------------------
1 files changed, 16 insertions(+), 21 deletions(-)
diff --git a/fs/btrfs/free-space-cache.c b/fs/btrfs/free-space-cache.c
index 7edbef6..017fd55 100644
--- a/fs/btrfs/free-space-cache.c
+++ b/fs/btrfs/free-space-cache.c
@@ -422,6 +422,16 @@ static void add_new_bitmap(struct btrfs_block_group_cache ...
| Aug 22, 6:23 pm 2010 |
| Li Zefan | [PATCH 1/6] btrfs: fix threshold calculation for block g ...
If a block group is smaller than 1GB, the extent entry threadhold
calculation will always set the threshold to 0.
So as free space gets fragmented, btrfs will switch to use bitmap
to manage free space, but then will never switch back to extents
due to this bug.
Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
---
fs/btrfs/free-space-cache.c | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/fs/btrfs/free-space-cache.c b/fs/btrfs/free-space-cache.c
index ...
| Aug 22, 6:22 pm 2010 |
| Josef Bacik | Re: [PATCH 2/6] btrfs: add helper function free_bitmap()
Reviewed-by: Josef Bacik <josef@redhat.com>
Thanks,
Josef
--
| Aug 23, 6:03 am 2010 |
| Josef Bacik | Re: [PATCH 5/6] btrfs: add a helper try_merge_free_space()
Reviewed-by: Josef Bacik <josef@redhat.com>
Thanks,
Josef
--
| Aug 23, 6:15 am 2010 |
| Josef Bacik | Re: [PATCH 4/6] btrfs: update stats when allocating from ...
Move this part up so we don't drop the spinlock and then re-grab it. Thanks,
Josef
--
| Aug 23, 6:09 am 2010 |
| Eric Paris | [PATCH 1/4] fanotify: flush outstanding perm requests on ...
When an fanotify listener is closing it may cause a deadlock between the
listener and the original task doing an fs operation. If the original task
is waiting for a permissions response it will be holding the srcu lock. The
listener cannot clean up and exit until after that srcu lock is syncronized.
Thus deadlock. The fix introduced here is to stop accepting new permissions
events when a listener is shutting down and to grant permission for all
outstanding events. Thus the original task will ...
| Aug 22, 5:37 pm 2010 |
| Andreas Gruenbacher | Re: [PATCH 4/4] fanotify: drops the packed attribute fro ...
We don't actually care if there are any holes in this structure; all we
care about is that the structure has the same alignment on 32-bit and
64-bit architectures.
This does not add much value; the two structures can still go out of sync
A note to be careful about changes to struct fanotify_event_metadata
should really be warning enough.
Andreas
--
| Aug 23, 9:13 am 2010 |
| Eric Paris | [PATCH 2/4] fanotify: drop duplicate pr_debug statement
From: Tvrtko Ursulin <tvrtko.ursulin@sophos.com>
This reminded me... you have two pr_debugs in fanotify_should_send_event
which output redundant information. Maybe you intended it like that so
it is selectable how much log spam you want, or if not you may want to
apply this patch.
Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@sophos.com>
Signed-off-by: Eric Paris <eparis@redhat.com>
---
fs/notify/fanotify/fanotify.c | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
diff --git ...
| Aug 22, 5:37 pm 2010 |
| Eric Paris | [PATCH 3/4] fanotify: resize pid and reorder structure
From: Tvrtko Ursulin <tvrtko.ursulin@sophos.com>
resize pid and reorder the fanotify_event_metadata so it is naturally
aligned and we can work towards dropping the packed attributed
Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@sophos.com>
Cc: Andreas Dilger <adilger@dilger.ca>
Signed-off-by: Eric Paris <eparis@redhat.com>
---
include/linux/fanotify.h | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/include/linux/fanotify.h b/include/linux/fanotify.h
index ...
| Aug 22, 5:37 pm 2010 |
| Eric Paris | [PATCH 4/4] fanotify: drops the packed attribute from us ...
The userspace event metadata structure was packed so when sent from a kernel
with a certain set of alignment rules to a userspace listener with a different
set of alignment rules the userspace process would be able to use the
structure. On some arches just using packed, even if it doesn't do anything
to the alignment can cause a severe performance hit. From now on we are
not going to set the packed attribute and will just need to be very careful
to make sure the structure is naturally aligned ...
| Aug 22, 5:37 pm 2010 |
| Wu Fengguang | Re: [2.6.35-rc1, bug] mm: minute-long livelocks in memor ...
zone->lock contention? Try rip the following two lines. The change
might be a bit aggressive though :)
Thanks,
Fengguang
diff --git a/mm/page_alloc.c b/mm/page_alloc.c
index 1bb327a..c08b8d3 100644
--- a/mm/page_alloc.c
+++ b/mm/page_alloc.c
@@ -1864,9 +1864,6 @@ __alloc_pages_direct_reclaim(gfp_t gfp_mask, unsigned int order,
cond_resched();
- if (order != 0)
- drain_all_pages();
-
if (likely(*did_some_progress))
page = get_page_from_freelist(gfp_mask, nodemask, ...
| Aug 22, 11:58 pm 2010 |
| David Rientjes | Re: [2.6.35-rc1, bug] mm: minute-long livelocks in memor ...
You may be interested in Mel's patchset that he just proposed for -mm
which identifies watermark variations on machines with high cpu counts
(perhaps even eight, as in this report). The last patch actually reworks
this hunk of the code as well.
http://marc.info/?l=linux-mm&m=128255044912938
http://marc.info/?l=linux-mm&m=128255045312950
http://marc.info/?l=linux-mm&m=128255045012942
http://marc.info/?l=linux-mm&m=128255045612954
Dave, it would be interesting to see if this fixes ...
| Aug 23, 2:23 am 2010 |
| Dave Chinner | Re: [2.6.35-rc1, bug] mm: minute-long livelocks in memor ...
That looks promising - I'll give it a shot, though my test case is
not really what you'd call reproducable(*) so it might take a
couple of days before I can say whether the issue has gone away or
not.
Cheers,
Dave.
(*) create 100 million inodes in parallel using fsmark, collect and
watch behavioural metrics via PCP/pmchart for stuff out of the
ordinary, and dump stack traces, etc when somthing strange occurs.
--
Dave Chinner
david@fromorbit.com
--
| Aug 23, 5:33 am 2010 |
| Dmitry Torokhov | Re: [PATCH] kernel: time: use ARRAY_SIZE macro in timeco ...
On Aug 22, 2010, at 4:43 PM, Nikitas Angelinas <nikitasangelinas@googlemail.com
That should be kcalloc while you are at it.
Thanks.
--
Dmitry
--
| Aug 22, 6:01 pm 2010 |
| Nikitas Angelinas | Re: [PATCH] kernel: time: use ARRAY_SIZE macro in timeco ...
Thanks for pointing that out; however, the code as is does not do a
memset to 0; is it worth using kcalloc in this case considering it has
to go through an 'unlikely' and a subsequent memset?
If required, I guess I should post a patch on a separate thread so that
Git picks up the correct patch title?
Kind Regards,
Nikitas
--
| Aug 23, 4:27 pm 2010 |
| Américo Wang | Re: ldd module param practice
How can it work? You neither have a loop nor use 'whom'
in your hello_init()...
You need:
statick int hello_init(void)
{
int i;
for (i=0; i<howmany; i++)
printk(KERN_WARNING "Hello, %s\n", whom);
return 0;
}
--
| Aug 22, 7:19 pm 2010 |
| rdunlap | Re: ldd module param practice
What happens if you make 'howmany' an int instead of
--
| Aug 22, 7:12 pm 2010 |
| Ingo Molnar | Re: [GIT PULL] perf callchain improvement and fixes
Pulled, thanks a lot!
Ingo
--
| Aug 23, 2:20 am 2010 |
| Alex Deucher | Re: [REGRESSION, Radeon-KMS] 2.6.36-rc1 - graphic issues ...
What card? Anything in your dmesg?
Alex
--
| Aug 22, 10:12 pm 2010 |
| trapDoor | Re: [REGRESSION, Radeon-KMS] 2.6.36-rc1 - graphic issues ...
Hi Alex,
Sorry for lack of details in my first e-mail. I was hoping to send you
the logs together with bisecting results. Unfortunately there are
other issues between 2.6.35-git2 - the last 'good' kernel (which
doesn't include the first drm pull for 2.6.36 window merge) - and
2.6.36-rc1. Due to those issues I can't bisect.
For example:
1) First I tried to narrow the problem down to the closest affected
kernel snapshot. So I marked 2.6.35-git2 as good and I was expecting
that 2.6.35-git3 ...
| Aug 23, 9:00 am 2010 |
| ä¹å´ | Re: [PATCH] vt: Fix console corruption on driver hand-over.
Yes,I have tested this patch,it can work and also fix the bug
02f0777a0d6560eb995aade34a1b82f95c0452da mentioned.
--
| Aug 22, 6:48 pm 2010 |
| Hui Zhu | Re: Linux Kernel GDB tracepoint module support most coll ...
Do a small update to fix a dangerous bug.
http://kgtp.googlecode.com/files/kgtp_20100823.tar.bz2
Thanks,
Hui
--
| Aug 23, 1:39 am 2010 |
| Hui Zhu | Re: Linux Kernel GDB tracepoint module support most coll ...
Some people have trouble with access to KGTP website. You can access
kgtp through svn:
svn checkout http://kgtp.googlecode.com/svn/ kgtp-read-only
kgtp-read-only/tags/ This directory have each release of KGTP.
The debug of this KGTP is open, please open gtp.c file remove line
"#define GTP_DEBUG KERN_WARNING" to close it.
Thanks,
Hui
--
| Aug 23, 2:05 am 2010 |
| Mark Brown | Re: [PATCH 2/2] regulator: tps6586x-regulator - fix bit_ ...
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
but I'd be much happier if someone who actually has the hardware could
verify that this is OK.
--
| Aug 23, 3:02 am 2010 |
| Mark Brown | Re: [PATCH 1/2] regulator: tps6586x-regulator - fix valu ...
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
--
| Aug 23, 3:01 am 2010 |
| Mike Rapoport | Re: [PATCH 2/2] regulator: tps6586x-regulator - fix bit_ ...
I don't have the hardware handy at the moment.
Gary, can you please verify the fix?
--
Sincerely yours,
Mike.
--
| Aug 23, 3:09 am 2010 |
| Namhyung Kim | Re: [PATCH 2/2] workqueue: mark lock acquisition on work ...
OK. I see. Thank you for the advice.
--
Regards,
Namhyung Kim
--
| Aug 23, 8:01 am 2010 |
| Tejun Heo | Re: [PATCH 2/2] workqueue: mark lock acquisition on work ...
applied to wq#for-linus. Thanks.
Also, please considering putting related patches into a thread. For
short series, just chaining them is good enough (ie. patch n+1 is
reply to patch n). For longer series, writing up a head message with
overall description, diffstat and other general info about the patch
series and making all patches reaplies to the head message is a good
idea.
Thanks.
--
tejun
--
| Aug 23, 2:41 am 2010 |
| Tejun Heo | Re: [PATCH 1/2] workqueue: annotate lock context change
applied to wq#for-linus. Thanks.
--
tejun
--
| Aug 23, 2:38 am 2010 |
| Greg KH | Re: Ubuntu 10.10 Kernel compile error
I was busy with other kernel work and didn't get a chance to do so. It
should happen later this week.
thanks,
greg k-h
--
| Aug 23, 8:38 am 2010 |
| Anca Emanuel | Re: Ubuntu 10.10 Kernel compile error
CC to apw@canonical.com, if there are orher people, let me know.
yes you have some patches, why don't you upstream them ?
Gregh, what is so hard to publish some compiler paches ? only becouse
you are suse ?
It is rc2 time an you did not publish, or asked Linus to pull the
fixes in your tree
--
| Aug 23, 3:09 am 2010 |
| David Miller | Re: [PATCH] net: define __packed for the userspace code
From: Changli Gao <xiaosuo@gmail.com>
It seems so, yes.
There is no way that anybody has tried to compile anything in
userspace using these headers with the __packed usage there.
If they would, they would surely see a compile failure.
--
| Aug 22, 7:36 pm 2010 |
| David Miller | Re: [PATCH] net: define __packed for the userspace code
From: Changli Gao <xiaosuo@gmail.com>
I don't think this it the reason it was being used here.
Any, for one thing, we definitely cannot remove the existing packed
markers or else we will break every single userland tool out there
using these socket address structures.
Even the first two members (sa_family_t and unsigned int) will be
positioned differently if we remove the marker.
I suspect the packed attribute is there to make sure the pppo* socket
address structures fit within the ...
| Aug 22, 6:36 pm 2010 |
| David Miller | Re: [PATCH] net: define __packed for the userspace code
From: David Miller <davem@davemloft.net>
Changli I applied your patch to convert these __packed tags back to
the original expansion.
Thanks!
--
| Aug 22, 9:16 pm 2010 |
| Christoph Hellwig | Re: [PATCH 2/3 RESEND] ptrace: cleanup address space con ...
Just make this a
void __user *datap = (void __user *)data;
and you can pass it around withjout additional casts. Also no need
for the force here I think.
You'll still need a cast for the put_user calls, or you could just
convert them to copy_to_user which is fine with a void pointer.
--
| Aug 23, 9:21 am 2010 |
| Namhyung Kim | [PATCH 2/3 RESEND] ptrace: cleanup address space convers ...
In some cases 'data' should be considered as a user pointer but it requires
cast with additional __force markup which was missing. Rather than add the
markups wherever needed, make use of a temporary variable of user pointer.
This patch is based on compat_ptrace_request() implementation.
Suggested-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Namhyung Kim <namhyung@gmail.com>
---
kernel/ptrace.c | 13 +++++++------
1 files changed, 7 insertions(+), 6 deletions(-)
diff --git ...
| Aug 23, 9:06 am 2010 |
| Namhyung Kim | Re: [PATCH 2/3 RESEND] ptrace: cleanup address space con ...
But removing __force results in following sparse warning:
ptrace.c:567:40: warning: cast adds address space to expression
(<asn:1>)
--
Regards,
Namhyung Kim
--
| Aug 23, 9:38 am 2010 |
| Roland McGrath | Re: [PATCH 3/3] ptrace: annotate siglock acquirement
Acked-by: Roland McGrath <roland@redhat.com>
--
| Aug 23, 9:53 am 2010 |
| Roland McGrath | Re: [PATCH 1/3] ptrace: annotate lock context change on ...
Acked-by: Roland McGrath <roland@redhat.com>
--
| Aug 23, 9:53 am 2010 |
| Mark Brown | Re: [PATCH] regulator: max8998 - set max8998->num_regulators
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
With a change like this it's good to note why things worked prior to the
change - my first thought was that it might be better to loose the
driver data copy entirely if we were fine with it being set to zero.
--
| Aug 23, 3:01 am 2010 |
| Pekka Enberg | Re: 2.6.34.1 page allocation failure
Looking at the stack trace of the oops, I think Stan has CONFIG_SLAB
which doesn't have order-0 fallback.
--
| Aug 23, 2:37 am 2010 |
| Stan Hoeppner | Re: 2.6.34.1 page allocation failure
That is correct. The menuconfig help screen led me to believe the SLAB
allocator was the "safe" choice:
"CONFIG_SLAB:
The regular slab allocator that is established and known to work well in
all environments"
Should I be using SLUB instead? Any downsides to SLUB on an old and
slow (500 MHz) single core dual CPU box with <512MB RAM?
Also, what is the impact of these oopses? Despite the entries in dmesg,
the system "seems" to be running ok. Or is this simply the calm before
the ...
| Aug 23, 3:35 pm 2010 |
| John W. Linville | Re: ath5k problem with 2.6.35
Presuming the answer is yes, you need this patch (available in 2.6.36-rc1):
commit 3473187d2459a078e00e5fac8aafc30af69c57fa
Author: John W. Linville <linville@tuxdriver.com>
Date: Wed Jul 7 15:07:49 2010 -0400
mac80211: remove wep dependency
The current mac80211 code assumes that WEP is always available. If WEP
fails to initialize, ieee80211_register_hw will always fail.
In some cases (e.g. FIPS certification), the cryptography used by WEP is
unavailable. ...
| Aug 23, 11:31 am 2010 |
| John W. Linville | Re: ath5k problem with 2.6.35
Did you enable fips mode?
John
--
John W. Linville Someday the world will need a hero, and you
linville@tuxdriver.com might be all we have. Be ready.
--
| Aug 23, 11:29 am 2010 |
| Tejun Heo | Re: [PATCH] workqueue: Add basic tracepoints to track wo ...
Hello,
I was planning to work on wq tracing in this devel cycle but yeah
Arjan's patch seems like a good starting place.
We definitely need more tracing points tho. Also, David was wondering
whether it would be possible to have simple file based interface to
monitor the current status of workers. That's doable w/ tracing API,
right?
Thanks.
--
tejun
--
| Aug 23, 2:46 am 2010 |
| Américo Wang | Re: [PATCH -mm V3] kbuild: fix reading CROSS_COMPILE fro ...
I think the line right above the chunk can be removed too, anyway,
Acked-by: WANG Cong <xiyou.wangcong@gmail.com>
--
| Aug 22, 11:45 pm 2010 |
| Wu Fengguang | Re: [PATCH -mm V3] kbuild: fix reading CROSS_COMPILE fro ...
> I think the line right above the chunk can be removed too, anyway,
Thanks,
Fengguang
--
| Aug 22, 11:52 pm 2010 |
| Hiremath, Vaibhav | RE: [PATCH-V2 1/3] RTC:s35390a: Add Alarm interrupt support
[Hiremath, Vaibhav] Overlooked, my bad. Thanks for pointing this to me ,will fix.
Thanks,
--
| Aug 22, 9:58 pm 2010 |
| Felipe Balbi | Re: [PATCH-V2 1/3] RTC:s35390a: Add Alarm interrupt support
Hi,
please break your lines at 80-characters. Also the [Hiremath, Vaibhav]
is unnecessary.
so you add a buggy patch and fix it later ? If you already know it's
buggy, why not changing the patch that adds the bug ?
--
balbi
DefectiveByDesign.org
--
| Aug 22, 11:29 pm 2010 |
| Hiremath, Vaibhav | RE: [PATCH-V2 1/3] RTC:s35390a: Add Alarm interrupt support
[Hiremath, Vaibhav] Nothing to argue here, I have to admit/accept and fix this.
Thanks,
--
| Aug 23, 3:34 am 2010 |
| Andrew Morton | Re: [PATCH-V2 3/3] RTC:s35390a: Add update_irq (per Min ...
On Sat, 21 Aug 2010 18:00:29 +0530
grumble. We bit-reverse it, fiddle a couple of bits and then
bit-reverse it again. Lazy.
Why not leave it bit-reversed and just bit-reverse the constants?
--
| Aug 23, 4:43 pm 2010 |
| Don Zickus | Re: [PATCH 2/2] lockup_detector: remove unnecessary pani ...
Thanks.
Acked-by: Don Zickus <dzickus@redhat.com>
--
| Aug 23, 6:07 am 2010 |
| Don Zickus | Re: [PATCH 1/2] lockup_detector: convert cpu notifier to ...
Looks ok.
Acked-by: Don Zickus <dzickus@redhat.com>
--
| Aug 23, 6:05 am 2010 |
| Linus WALLEIJ | RE: [PATCH] MFD: Align AB8500 with the abx500.h interface
Yeahm, it doesn't hurt och break git-bisect but if it's disturbing
I can spin it over to the other patch.
Right now I'm just awaiting Sams reply to if he wants per-subsystem
patches or not, so I'll make a final version if there are more
changes required.
Yours,
Linus Walleij
--
| Aug 23, 12:30 am 2010 |
| Peter Zijlstra | Re: help needed with EXPORT_SYMBOL
We have this problem in several areas in the kernel (pm_idle being the
one I hate most since its in code I touch actually grew tons of users).
If you really need to export hooks, provide a registration mechanism and
an arbiter. A very simple, already existing, implementation of this
would be notification chains (include/linux/notifier.h), these provide a
registration interface, and the arbiter is a combination of static
priority combined with return codes.
A more complex example would be ...
| Aug 23, 6:43 am 2010 |
| Peter Zijlstra | Re: help needed with EXPORT_SYMBOL
Not really a future-proof design, is it?
--
| Aug 23, 7:05 am 2010 |
| Aijaz Baig | Re: help needed with EXPORT_SYMBOL
Hello,
Yeah I do understand that part, but there has to be a way to do what I
am trying to do here isn't it?
And can anyone tell me can kallsyms_lookup() be used in such a
situation? If yes than how do I use it?
Regards,
Aijaz
On Sat, Aug 21, 2010 at 2:53 PM, Jan Engelhardt <jengelh@medozas.de>
wrote:
There, you answered yourself. Exports only go one way. And that is
core -> module -> module.
--
| Aug 22, 10:14 pm 2010 |
| Jan Engelhardt | Re: help needed with EXPORT_SYMBOL
Though in case there is just a single user it can work out.
Just like bridge.c, and the bunch of nf_nat_*.c. :-)
Though yeah. Bad bad.
This is starting to sound pretty much like an XY problem: XY problem:
You want to do X, but don't know how. You think you can solve it using
Y, but don't know how to do that, either. You ask about Y, which is a
strange thing to want to do. Just ask about X.
(And then there is still the "good idea to do X in the first place"
thing.) Like what's so ...
| Aug 23, 6:32 am 2010 |
| Brian Gerst | Re: help needed with EXPORT_SYMBOL
Use an exported function pointer in the main kernel as a hook that the
module sets when it is loaded. Note, you must use module_get and
module_put around the call to the module to prevent it from unloading
while in use.
--
Brian Gerst
--
| Aug 23, 4:48 am 2010 |
| Peter Zijlstra | Re: help needed with EXPORT_SYMBOL
Please don't do any such thing, its impossible to use correctly.
Suppose there are two modular users, A and B.
Both have something like:
extern void (*fptr)(void);
static void (*old_fptr)(void);
static void func(void)
{
/* foo */
if (old_fptr)
old_fptr();
}
module_init()
{
old_fptr = fptr;
fptr = A_func;
}
Then you load A, load B and unload A, then guess what happens?
--
| Aug 23, 6:17 am 2010 |
| Brian Gerst | Re: help needed with EXPORT_SYMBOL
The assumption was that there was a single module using that hook.
For multiple users you'd need to use a register function that adds the
module to a linked list.
--
Brian Gerst
--
| Aug 23, 6:44 am 2010 |
| Michal Marek | Re: [PATCH][RESEND] fix compilation error with CROSS_COMPILE
I would rather check if the patch is still needed at all. Tiago, can you
try vanilla 2.6.36-rc1, which has the first
"CROSS_COMPILE ?="
line removed (commit 235caa2) and check if your original problem still
presists?
Thanks,
Michal
--
| Aug 23, 4:36 am 2010 |
| jean-philippe francois | Re: System time drifts when processor idle.
Thank you. I have been looking at the ML archives, and it seems there
has been issue related to timekeeping lately. So I tested my script
with a decently recent kernel : 2.6.36-rc1.
--
| Aug 23, 1:46 am 2010 |
| john stultz | Re: System time drifts when processor idle.
On Mon, Aug 23, 2010 at 1:46 AM, jean-philippe francois
Could you provide the output of:
cat /sys/devices/system/clocksource/clocksource0/available_clocksource
cat /sys/devices/system/clocksource/clocksource0/current_clocksource
I assume you're using the TSC, and hitting the halt-in-c3 issue, but
I'm curious why the clocksource watchdog isn't catching this and
dropping you back to a more stable clocksource.
thanks
-john
--
| Aug 23, 3:17 pm 2010 |
| H. Peter Anvin | Re: Linux 2.6.35.3
Yes, in particular 69309a05907546fb686b251d4ab041c26afe1e1d should be
applied to all instances of this commit.
As far as we can tell it's a gcc bug, but it hasn't been thoroughly
root-caused to that yet.
-hpa
--
| Aug 23, 11:45 am 2010 |
| H. Peter Anvin | Re: Linux 2.6.35.3
By the way, I think only 69309a05907546fb686b251d4ab041c26afe1e1d should
solve the problem. Mark, could you try only this patch?
-hpa
--
H. Peter Anvin, Intel Open Source Technology Center
I work for Intel. I don't speak on their behalf.
--
| Aug 22, 6:31 pm 2010 |
| Greg KH | Re: Linux 2.6.35.3
Wonderful, thanks for testing, I'll just queue this one up then.
greg k-h
--
| Aug 22, 8:03 pm 2010 |
| Michael Tokarev | Re: Linux 2.6.35.3
This commit also present in 2.6.32.stable (since 2.6.32.19).
Should it be fixed there as well?
Thanks!
/mjt
--
| Aug 23, 11:04 am 2010 |
| Mark Stanovich | Re: Linux 2.6.35.3
69309a05907546fb686b251d4ab041c26afe1e1d is also needed on top of
2.6.34.5 in order for my machine to boot properly.
- Mark
--
| Aug 23, 6:47 am 2010 |
| Mark Stanovich | Re: Linux 2.6.35.3
Tested 69309a05907546fb686b251d4ab041c26afe1e1d on top of 2.6.35.3 and
this does solve the rebooting problem.
- Mark
--
| Aug 22, 6:56 pm 2010 |
| Greg KH | Re: Linux 2.6.35.3
Ok, now queued up for both .34 and .35 stable trees.
thanks,
greg k-h
--
| Aug 23, 2:35 pm 2010 |
| Peter Zijlstra | Re: [RFC] mlock/stack guard interaction fixup
mlock() simply avoids major faults, nothing more.
I think both page migration and page-out for shared pages where some
maps are !mlocked can cause unmaps and thus minor faults.
mlock and dirty do not interact, they will still be cleaned/written out
as normal.
--
| Aug 23, 12:07 pm 2010 |
| Peter Zijlstra | Re: [RFC] mlock/stack guard interaction fixup
Running User Mode Linux (if it still builds) is a terrific test case for
the vma code. I remember that that was the thing that caused most
explosions back when I was poking at this code.
/me goes look at the actual patches..
--
| Aug 23, 2:00 am 2010 |
| Peter Zijlstra | Re: [RFC] mlock/stack guard interaction fixup
That sounds broken too, not having read the initial problem and such, it
sounds like the hypercall would expect the pages to stay pinned and
mlock doesn't actually guarantee that at all.
--
| Aug 23, 2:22 am 2010 |
| Ian Campbell | Re: [RFC] mlock/stack guard interaction fixup
Neither do I. The Xen toolstack even has a mechanism for bouncing data
to a special area for use as hypercall arguments. I expected it was just
a few corner cases which didn't use it but when I started looking into
it due to this conversation I discovered it's not as widely used as it
Xen's usage doesn't require that the physical page backing an mlocked
virtual address never changes, just that it doesn't change without
obeying the regular TLB flush semantics.
Ian.
--
Ian ...
| Aug 23, 12:03 pm 2010 |
| Jeremy Fitzhardinge | Re: [RFC] mlock/stack guard interaction fixup
So mlock is useless for preventing secret stuff from being written to disk.
J
--
| Aug 23, 12:23 pm 2010 |
| Peter Zijlstra | Re: [RFC] mlock/stack guard interaction fixup
Well, if you put your sekrit in a file map, sure.
Use a mmap(MAP_ANONYMOUS|MAP_LOCK) and madvise(MADV_DONTFORK) for your
sekrits.
--
| Aug 23, 12:26 pm 2010 |
| Jeremy Fitzhardinge | Re: [RFC] mlock/stack guard interaction fixup
Won't dirty anonymous pages also get written to swap?
J
--
| Aug 23, 12:54 pm 2010 |
| Tony Luck | Re: [RFC] mlock/stack guard interaction fixup
Tony Luc spends too much time looking at the To: and Cc: to make
sure that he spelled *other* peoples names correctly.
That patch doesn't apply any more because of the latest change to look
at vm_prev instead of calling find_vma() [N.B. the block comment above
check_stack_guard_page() still talks about find_vma()]. I can fix up my
patch ... but I have to wonder whether the new code doesn't leave a
hole again. It assumes that any VM_GROWSDOWN object that is
found below the current one is the ...
| Aug 23, 9:34 am 2010 |
| Peter Zijlstra | Re: [RFC] mlock/stack guard interaction fixup
Us real-time people have been telling people to not use mlockall() at
all.
While small !glibc statically linked RT components using shared memory
interfaces to !RT apps could work its not how people actually write
their apps. They write big monolithic threaded apps where some threads
are RT.
[ in part because there doesn't seem to be a usable !glibc
libpthread/librt implementation out there, in part because people use
crap like Java-RT ]
--
| Aug 23, 10:59 am 2010 |
| Linus Torvalds | Re: [RFC] mlock/stack guard interaction fixup
On Mon, Aug 23, 2010 at 10:18 AM, Ian Jackson
Note: I don't think it's generally sane to mlock() a _part_ of the stack.
I think it's entirely sane to lock the whole stack (and that includes
expanding it to some expected maximum value). That makes sense as a
"we cannot afford to run out of memory" or "we must not allow the
pages to hit disk" kind of protection.
However, using mlock on part of the stack is dubious. It's also
dubious as a way to pin particular pages in the page tables, ...
| Aug 23, 10:34 am 2010 |
| Ian Jackson | Re: [RFC] mlock/stack guard interaction fixup
Are you allowed to mlock a stack page which has not yet been faulted
in ? What effect does it have ? I wasn't able to find a convincing
de jure answer to this question.
But you seem, like me, to be disagreeing with Linus's assertion that
You are directly contradicting the advice in SuS, to which I just gave
a reference. You're free to do so of course but it might be worth
explaining in a bit more detail why the advice in SuS is wrong.
Ian.
--
| Aug 23, 10:18 am 2010 |
| ijackson | Re: [RFC] mlock/stack guard interaction fixup
mlocking the stack is entirely sensible and normal for a real-time
program. Most such programs use mlockall but there is no particular
reason why a program that has some more specific requirements should
use mlock to lock only a part of the stack. (Perhaps it has only one
real-time thread?)
Locking, including of the stack, is discussed extensively here:
http://www.opengroup.org/onlinepubs/9699919799/xrat/V4_xsh_chap02.html
section "Memory locking functions" subsection ...
| Aug 23, 8:42 am 2010 |
| Jeremy Fitzhardinge | Re: [RFC] mlock/stack guard interaction fixup
Doing hypercalls from userspace is a silly hack to avoid putting dom0
hypercall knowledge into the kernel. mlock in that area has always been
problematic (initially on Solaris, and increasingly on Linux) and we're
going to have to fix it at some point. I wouldn't spend a lot of time
defending it.
J
--
| Aug 23, 11:53 am 2010 |
| Peter Zijlstra | Re: [RFC] mlock/stack guard interaction fixup
Quite so, and esp. now that page migration gets used more with all that
memory compaction stuff that got merged.
--
| Aug 23, 10:53 am 2010 |
| Peter Zijlstra | Re: [RFC] mlock/stack guard interaction fixup
On Mon, 2010-08-23 at 16:42 +0100, ijackson@chiark.greenend.org.uk
RT apps should pre-allocate and mlock their stack in advance (and
pre-fault too for the paranoid).
mlockall is a very bad interface and should really not be used.
--
| Aug 23, 9:25 am 2010 |
| Peter Zijlstra | Re: [RFC] mlock/stack guard interaction fixup
I think the case that Linus called daft is splitting the stack vma
Because a real RT program will have a significant !RT part, and calling
mlock on everything is a massive resource waste.
Furthermore, mlockall gives the false impression that everything is good
to go for RT, disregarding pretty much everything that makes a RT app.
There's lots more to RT than sched_setscheduler() and
mlockall(MCL_FUTURE).
If a library is RT suited, it will already mlock() all relevant ...
| Aug 23, 10:40 am 2010 |
| Jeremy Fitzhardinge | Re: [RFC] mlock/stack guard interaction fixup
Is that guaranteed to work (in Linux or in general)? mlock has always
meant "won't generate disk IO to fault in/evicted", but does it prevent
dirty pages from being written out so long as they also remain
resident? Or does it depend on the precise type of page you're
mlocking? For example, what does mlock on a shared writeable mapping mean?
J
--
| Aug 23, 11:50 am 2010 |
| Darren Hart | Re: [RFC] mlock/stack guard interaction fixup
Well, we have at least two camps of people here I guess. When people
come to me with unexplainable latencies, paging is one of the things we
check for, and mlockall() is a good way to test if avoiding that paging
Which is also missing some performance and functionality due to the lack
of complete pthread support for priority inheritance (and the complete
disinterest in fixing it by certain maintainers).
--
Darren Hart
IBM Linux Technology Center
Real-Time Linux Team
--
| Aug 23, 11:43 am 2010 |
| Américo Wang | Re: version.h
This file is generated by the top Makefile.
--
| Aug 22, 7:25 pm 2010 |
| Jens Axboe | Re: PATCH: dangling pointer when switching to noop eleva ...
Thanks, this was also posted last week. I think the best course of
action is to provide an API for switching the scheduler, instead of
having drivers rely on doing it manually.
--
Jens Axboe
--
| Aug 23, 3:11 am 2010 |
| Mark Brown | Re: [spi-devel-general] [PATCH 1/2] spi/spi_s3c64xx: Mak ...
I'd personally not actually be that upset with a BUG_ON(), my main
reason for changing the code was that it was non-obvious what the source
Yeah, that's why I suggested driving it as a GPIO for simplicity - from
the user point of view it doesn't matter if that's what the controller
does so long as the driver figures out the chip select without external
help.
--
| Aug 23, 2:57 am 2010 |
| Zhenyu Wang | Re: [PATCH] agp/intel: Fix dma mask for Sandybridge
Sandybridge can do 40-bit dma mask. This has been fixed upstream now.
--
Open Source Technology Center, Intel ltd.
$gpg --keyserver wwwkeys.pgp.net --recv-keys 4D781827
| Aug 22, 6:35 pm 2010 |
| Eric Anholt | Re: [PATCH] agp/intel: Fix dma mask for Sandybridge
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
iEYEARECAAYFAkxyf2gACgkQHUdvYGzw6vdUCwCghkscXUjV2TVmkXga5LiJPiN1
Dr8Ani+Voxx5jpvOfzNsUUEVA9e2P/x8
=yiHB
-----END PGP SIGNATURE-----
| Aug 23, 7:02 am 2010 |
| Takashi Iwai | Re: [PATCH] agp/intel: Fix dma mask for Sandybridge
At Mon, 23 Aug 2010 08:02:42 +0200,
Or, it's rather meant (addr >> 32) & 0xff?
If so, better to be upper_32_bits(addr) & 0xff...
thanks,
Takashi
--
| Aug 22, 11:13 pm 2010 |
| Takashi Iwai | Re: [PATCH] agp/intel: Fix dma mask for Sandybridge
At Mon, 23 Aug 2010 13:43:03 +0800,
Thanks.
But, isn't it better to add .dma_mask field to struct
agp_bridge_driver?
Isn't it 0xff0?
Takashi
--
| Aug 22, 11:02 pm 2010 |
| Zhenyu Wang | Re: [PATCH] agp/intel: Fix dma mask for Sandybridge
Linus's tree:
commit 877fdacf8291d7627f339885b5ae52c2f6061734
Author: Zhenyu Wang <zhenyuw@linux.intel.com>
Date: Thu Aug 19 09:46:13 2010 +0800
agp/intel: set 40-bit dma mask on Sandybridge
Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
Signed-off-by: Eric Anholt <eric@anholt.net>
--
Open Source Technology Center, Intel ltd.
$gpg --keyserver wwwkeys.pgp.net --recv-keys 4D781827
| Aug 22, 10:43 pm 2010 |
| Zhenyu Wang | Re: [PATCH] agp/intel: Fix dma mask for Sandybridge
No. This depends on hw 32bit PTE format for sandybridge.
bit 31 bit 11 bit 4 bit 0
|<-physical addr 31:12->|<-physical addr 39:32->|<-cache ctl 3:1->|valid|
--
Open Source Technology Center, Intel ltd.
$gpg --keyserver wwwkeys.pgp.net --recv-keys 4D781827
| Aug 22, 11:19 pm 2010 |
| Zhenyu Wang | Re: [PATCH] agp/intel: Fix dma mask for Sandybridge
ah, sorry, my stupid. Thanks for catching this!
Subject: [PATCH] agp/intel: fix physical address mask bits for sandybridge
It should shift bit 39-32 into pte's bit 11-4.
Reported-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
---
drivers/char/agp/intel-gtt.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/char/agp/intel-gtt.c b/drivers/char/agp/intel-gtt.c
index d22ffb8..0edfc87 100644
--- ...
| Aug 22, 11:48 pm 2010 |
| Takashi Iwai | Re: [PATCH] agp/intel: Fix dma mask for Sandybridge
At Mon, 23 Aug 2010 09:35:07 +0800,
Could you point where is the upstream GIT tree and the corresponding
commit id?
thanks,
Takashi
--
| Aug 22, 10:29 pm 2010 |
| Takashi Iwai | Re: [PATCH] agp/intel: Fix dma mask for Sandybridge
At Mon, 23 Aug 2010 14:19:22 +0800,
Then I really don't understand why it works.
You shift 28bit and mask with 0xff. Obviously it overwrite bits 0:3
with original 28:31 bits. Masking 0xff0 fixes the issue.
And, the information like above would be greatly helpful if put into
either changelog or comment...
thanks,
Takashi
--
| Aug 22, 11:31 pm 2010 |
| Ingo Molnar | Re: [PATCH -v3] perf, x86: try to handle unknown nmis wi ...
Ok, to not hold up the perf/urgent flow i zapped these two commits for
the time being:
4a31beb: perf, x86: Fix handle_irq return values
8e3e42b: perf, x86: Try to handle unknown nmis with an enabled PMU
We can apply them if they take a form that dont introduce a different
kind of (and more visible) regression.
Thanks,
Ingo
--
| Aug 23, 1:53 am 2010 |
| Michal Hocko | Re: [PATCH] Make is_mem_section_removable more conformab ...
I would assume that the MIGRATE_MOVABLE test is not necessary (given that
the whole zone is set as movable) but this test is used also in the
offlining path (in set_migratetype_isolate) and the primary reason for
this patch is to sync those two checks.
I am not familiar with all the possible cases for migrate flags so the
test reduction should be better done by someone more familiar with the
code (the zone flag test is much more easier than the whole
Free pages can be from non movable ...
| Aug 23, 2:22 am 2010 |
| Daisuke Nishimura | Re: [PATCH 2/5] memcg: use array and ID for quick look up
Could you explain why we need rcu_read_unlock() before mem_cgroup_put() ?
I suspect that it's because mem_cgroup_put() can free the memcg, but do we
need mem->valid then ?
Thanks,
Daisuke Nishimura.
--
| Aug 22, 8:35 pm 2010 |
| Daisuke Nishimura | Re: [PATCH] memcg: use ID in page_cgroup
On Fri, 20 Aug 2010 19:01:32 +0900
Another off topic. I think we can reduce the size of mem_cgroup by packing
Do you mean, "Set safe==true if we can ensure by some locks that the id can be
It might be better to add
BUG_ON(newid->id != 1)
in cgroup.c::cgroup_init_idr().
Thanks,
Daisuke Nishimura.
--
| Aug 22, 10:32 pm 2010 |
| Daisuke Nishimura | Re: [PATCH 4/5] memcg: lockless update of file_mapped
This patch looks good to me, but I have one question.
Why do we need to acquire sc.lock inside mem_cgroup_(start|end)_move() ?
These functions doesn't access mc.*.
Thanks,
Daisuke Nishimura.
On Fri, 20 Aug 2010 19:02:56 +0900
--
| Aug 23, 1:50 am 2010 |
| KAMEZAWA Hiroyuki | Re: [PATCH 4/5] memcg: lockless update of file_mapped
On Mon, 23 Aug 2010 17:50:15 +0900
just reusing a lock to update status. If you don't like, I'll add a new lock.
Thanks,
--
| Aug 23, 4:49 pm 2010 |
| KAMEZAWA Hiroyuki | Re: [PATCH] memcg: use ID in page_cgroup
On Mon, 23 Aug 2010 14:32:37 +0900
Why ??
Thanks,
-Kame
--
| Aug 23, 4:52 pm 2010 |
| KAMEZAWA Hiroyuki | Re: [PATCH 2/5] memcg: use array and ID for quick look up
On Mon, 23 Aug 2010 12:35:33 +0900
mem_cgroup_put() may call synchronize_rcu(). So, we have to unlock before it.
Thanks,
-Kame
--
| Aug 23, 4:51 pm 2010 |
| Michael Rubin | Re: [PATCH 3/4] writeback: nr_dirtied and nr_entered_wri ...
I think the counters will still be useful for NUMA also. Is there a
performance hit here I am missing to having the per node counters?
Just want to make sure we are only wondering about whether or not we
are polluting the interface? Also since we plan to change the name to
vmstat instead doesn't that make it more generic in the future?
mrubin
--
| Aug 23, 10:45 am 2010 |
| Michael Rubin | Re: [PATCH 4/4] writeback: Reporting dirty thresholds in ...
LOL. I know about these counters. This goes back and forth a lot.
The reason we don't want to use this interface is several fold.
1) It's exporting the implementation of writeback. We are doing bdi
today but one day we may not.
2) We need a non debugfs version since there are many situations where
debugfs requires root to mount and non root users may want this data.
Mounting debugfs all the time is not always an option.
3) Full system counters are easier to handle the juggling of ...
| Aug 23, 10:52 am 2010 |
| Jens Axboe | Re: [PATCH]Fix return code for mkdir calls
Thanks, applied.
--
Jens Axboe
--
| Aug 23, 1:54 am 2010 |
| Nikos Mavrogiannopoulos | Re: [PATCH 00/19] RFC, v2: "New" /dev/crypto user-space ...
Indeed. The pkcs11 backend would have to copy the data to the shared
segment, thus high-performance applications requiring zero-copy, would
avoid to use this interface. Moreover if more than one applications
are using the interface, the shared segment it is going to be a
bottleneck. Having multiple shared segments might help, but I don't
know how practical is something like that with the posix ipc.
regards,
Nikos
--
| Aug 23, 2:34 am 2010 |
| Tomas Mraz | Re: [PATCH 00/19] RFC, v2: "New" /dev/crypto user-space ...
Yes, this exactly is the plan. All the major crypto libraries - NSS,
OpenSSL, libgcrypt - are going to be patched to use the kernel API in
case they are configured to. By default they will still be using their
internal implementation of the cryptographic algorithms. Of course there
still might be some applications (for example glibc libcrypt password
hashing) that decide to use the kernel interface directly, but these
will be a very small minority I think.
--
Tomas Mraz
No matter how far ...
| Aug 22, 11:39 pm 2010 |
| Arnd Bergmann | Re: [PATCH 00/19] RFC, v2: "New" /dev/crypto user-space ...
Yes, but that only means you should avoid pointers in data structures
that are passed to ioctl. Ideally, you would use ioctl to control
The algorithms that are in the kernel already are there specifically because
You mean using a shared memory segment would not be possible without changing
the libpkcs11 interface?
Arnd
--
| Aug 23, 1:09 am 2010 |
| Henrik Rydberg | Re: [PATCH 3/3] input: add multitouch slot support to w8001.
Hi Peter,
Zero is part of the valid range from 2.6.36. Can be implemented simply as
What are data[11] and data[12]?
Since all needed information is available here, there seems to be little reason
Apparently, f1 and f2 represent the slots themselves, i.e., the device uses
slots internally. Please simplify the logic accordingly. There is an example in
No information about signal-to-noise ratio (fuzz) for this device?
Thanks,
Henrik
--
| Aug 23, 1:18 am 2010 |
| Ping Cheng | Aug 23, 7:11 am 2010 | |
| Neil Brown | Re: [PATCH] writeback: remove the internal 5% low bound ...
On Fri, 20 Aug 2010 15:50:54 +1000
If it is appropriate to have a lower limit, that should be imposed where
the sysctl is defined in kernel/sysctl.c, not imposed after the fact where
the value is used.
As we now have dirty_bytes which over-rides dirty_ratio, there is little
cost in having a lower_limit for dirty_ratio - it could even stay at 5% -
but it really shouldn't be silent. Writing a number below the limit to the
sysctl file should fail.
NeilBrown
--
| Aug 22, 9:42 pm 2010 |
| Con Kolivas | Re: [PATCH] writeback: remove the internal 5% low bound ...
Indeed. And while you shouldn't set the lower limit to zero to avoid this
problem, it doesn't answer _why_ this happens. What is this "minimum write"
that blocks everything, will 1% be enough, and is it hiding another real bug
somewhere in the VM?
Regards,
Con
--
-ck
--
| Aug 22, 11:30 pm 2010 |
| Wu Fengguang | Re: [PATCH] writeback: remove the internal 5% low bound ...
How about imposing an explicit bound of 1%? That's more natural and
its risk of breaking user space should be lower than 5%.
Thanks,
Fengguang
---
writeback: remove the internal 5% low bound on dirty_ratio
The dirty_ratio was silently limited in global_dirty_limits() to >= 5%. This
is not a user expected behavior. And it's inconsistent with calc_period_shift(),
which uses the plain vm_dirty_ratio value. So let's rip the internal bound.
At the same time, force a user visible low bound ...
| Aug 22, 11:23 pm 2010 |
| Eric Paris | Re: [PATCH] audit: speedup for syscalls when auditing is ...
I don't think this works at all. I don't see how syscall audit'ing can
work. What if I have nothing in the AUDIT_FILTER_TASK list but I want
to audit all 'open(2)' syscalls? This patch is going to leave the task
in the DISABLED state and we won't ever be able to match on the syscall
rules.
I wonder if you could get much back, in terms of performance, by moving
the
context->dummy = !audit_n_rules;
line to the top and just returning if context->dummy == 1;
I'll play a bit, but ...
| Aug 23, 10:56 am 2010 |
| Aneesh Kumar K. V | Re: [PATCH -V18 04/13] vfs: Allow handle based open on s ...
sys_setxattrat would take 7 arguments.
-aneesh
--
| Aug 22, 7:49 pm 2010 |
| Aneesh Kumar K. V | Re: [PATCH -V18 04/13] vfs: Allow handle based open on s ...
There are at* syscalls that doesn't take the additional flags as the
argument, like openat, readlinkat. How will handle based open and
readlink work with the above interface ?
-aneesh
--
| Aug 22, 6:24 pm 2010 |
| Neil Brown | Re: [PATCH -V18 04/13] vfs: Allow handle based open on s ...
On Mon, 23 Aug 2010 06:54:03 +0530
Bother... you are right.
I had remembered that at the time that all that *at calls were added there was
discussion about how you always need some flags, particularly in the context
of adding O_CLOEXEC and (I thought) a flag to allow non-sequential allocation
of fds.
I had thought that they all got 'flags' arguments as a result, but it seems
not.
For openat you could squeeze something into the current 'flags' arg
(O_FILE_HANDLE), but for readlinkat, ...
| Aug 22, 6:52 pm 2010 |
| Avi Kivity | Re: [PATCH 0/4 v2] kvm: rework KVM mmu_shrink() code
It does indeed!
--
error compiling committee.c: too many arguments to function
--
| Aug 23, 4:28 am 2010 |
| Avi Kivity | Re: [PATCH 0/4 v2] kvm: rework KVM mmu_shrink() code
This is running the emulator.flat test case, with shadow paging. This
test triggers a lot (millions) of mmu mode switches.
--
error compiling committee.c: too many arguments to function
--
| Aug 23, 3:27 am 2010 |
| Xiaotian Feng | Re: [PATCH 0/4 v2] kvm: rework KVM mmu_shrink() code
Does following patch fix your issue?
Latest kvm mmu_shrink code rework makes kernel changes
kvm->arch.n_used_mmu_pages/
kvm->arch.n_max_mmu_pages at kvm_mmu_free_page/kvm_mmu_alloc_page,
which is called
by kvm_mmu_commit_zap_page. So the kvm->arch.n_used_mmu_pages or
kvm_mmu_available_pages(vcpu->kvm) is unchanged after kvm_mmu_commit_zap_page(),
This caused kvm_mmu_change_mmu_pages/__kvm_mmu_free_some_pages looping forever.
Moving kvm_mmu_commit_zap_page would make the while loop performs ...
| Aug 23, 4:11 am 2010 |
| Avi Kivity | Re: [PATCH 0/4 v2] kvm: rework KVM mmu_shrink() code
I see a lot of soft lockups with this patchset:
BUG: soft lockup - CPU#0 stuck for 61s! [qemu:1917]
Modules linked in: netconsole configfs p4_clockmod freq_table
speedstep_lib kvm_intel kvm e1000e i2c_i801 i2c_core microcode serio_raw
[last unloaded: mperf]
CPU 0
Modules linked in: netconsole configfs p4_clockmod freq_table
speedstep_lib kvm_intel kvm e1000e i2c_i801 i2c_core microcode serio_raw
[last unloaded: mperf]
Pid: 1917, comm: qemu Not tainted 2.6.35 #253 ...
| Aug 23, 3:22 am 2010 |
| Tim Pepper | Re: [PATCH 0/4 v2] kvm: rework KVM mmu_shrink() code
Thanks Xiaotian Feng!
Avi: here's also a minor whitespace fixup on top of the previous.
diff --git a/arch/x86/kvm/mmu.c b/arch/x86/kvm/mmu.c
index f83b941..0c56484 100644
--- a/arch/x86/kvm/mmu.c
+++ b/arch/x86/kvm/mmu.c
@@ -1696,8 +1696,7 @@ void kvm_mmu_change_mmu_pages(struct kvm *kvm,
unsigned in
page = container_of(kvm->arch.active_mmu_pages.prev,
struct kvm_mmu_page, link);
- ...
| Aug 23, 12:53 pm 2010 |
| Nicholas A. Bellinger | Re: Conversion of LIO-Target to use include/scsi/iscsi_p ...
Hmmm good point.. Perhaps the choice of using struct iscsi_cmd as the
example w/ __be32 header_digest was made a little hastely on my part.
8-)
So in that case, I can focus making this struct iscsi_cmd function W/O
the header_digest member first, and have the temporary stubs in the
lio-core-2.6.git tree for the other PDUs as required until the other non
<nod> I would like to start adding BIDI into TCM Core + TCM_Loop very
soon (mabye by this weekend..?) Ditto on the extended > 16-byte ...
| Aug 23, 12:52 pm 2010 |
| Daniel Kiper | Re: [tip:x86/urgent] x86, apic: Fix apic=debug boot crash
Hi,
Till now no, however I think it is good idea
to apply this patch now. It is not worth to wait
for another null pointer dereference.
Daniel
--
| Aug 23, 1:12 am 2010 |
| H. Peter Anvin | Re: [tip:x86/urgent] x86, apic: Fix apic=debug boot crash
It's already applied.
--
Sent from my mobile phone. Please pardon any lack of formatting.
--
| Aug 23, 7:54 am 2010 |
| Yinghai Lu | Re: [tip:x86/urgent] x86, apic: Fix apic=debug boot crash
no, we should add BUG_ON() etc debug info there to see why that null cfg could happen.
because according to code, we should have null there.
Yinghai
--
| Aug 23, 10:59 am 2010 |
| Pedro Eugênio Rocha | Re: Using block layer's I/O context api (block/blk-ioc.c ...
Hi,
Right, I think I understood now! In my case, I was thinking in use just
the *ioc_data pointer in io_context. But in that case, I will not have a
callback to deallocate my structures, right? For now, I will clone those
cfq_io_context's.
Is there a reason to not bring those functions into elevator_type .ops?
I mean, create a interface like .elevator_create_io_context and
.elevator_destroy_io_context, and let the elevator.c do the callbacks.
I think that what I'm doing now will be my ...
| Aug 23, 6:12 am 2010 |
| Greg KH | Re: [stable] "vmscan: raise the bar to PAGEOUT_IO_SYNC s ...
It seems to also apply and build successfully on .32-stable, so I've
queued it up there as well.
thanks,
greg k-h
--
| Aug 23, 3:22 pm 2010 |
| Sachin Sant | Re: [s390] Build failure with latest 2.6.36-rc1 git (sys ...
The patch is still missing from Linus's tree.
2.6.36-rc2-git1 (9ee4747..) fails with the same error.
Thanks
-Sachin
--
---------------------------------
Sachin Sant
IBM Linux Technology Center
India Systems and Technology Labs
Bangalore, India
---------------------------------
--
| Aug 23, 6:37 am 2010 |
| David Miller | Re: [PATCH -next] isdn/avm: fix build when PCMCIA is not ...
From: Randy Dunlap <randy.dunlap@oracle.com>
Applied to net-2.6, thanks Randy.
--
| Aug 22, 9:37 pm 2010 |
| Pavel Emelyanov | Re: Is it possible for addrconf_init_net to kfree no-hea ...
This situation can only occur for the init namespace, i.e. early at host
boot so the sysctl registration will not fail for sure.
On the other hand, since the ipv6 can be built as module this code can be
executed later run-time ...
--
| Aug 23, 12:42 am 2010 |
| Namhyung Kim | Re: [PATCH 0/4] initramfs: remove sparse warnings
Thank you Arnd for the precious comments and advices. This really helps
me.
--
Regards,
Namhyung Kim
--
| Aug 23, 7:59 am 2010 |
| Peter Zijlstra | Re: [2/3] mm: fix up some user-visible effects of the st ...
For sure, and if you need it in a hurry your patch is much saner.
So if you feel like its required for .36 go for it, we can look at
cleaning it up for .37 or somesuch.
--
| Aug 23, 1:58 am 2010 |
| tip-bot for Peter Zi ... | [tip:perf/urgent] watchdog: Don't throttle the watchdog
Commit-ID: c6db67cda735d8ace5f19c3831240e1408679790
Gitweb: http://git.kernel.org/tip/c6db67cda735d8ace5f19c3831240e1408679790
Author: Peter Zijlstra <a.p.zijlstra@chello.nl>
AuthorDate: Fri, 20 Aug 2010 11:49:15 +0200
Committer: Ingo Molnar <mingo@elte.hu>
CommitDate: Mon, 23 Aug 2010 10:48:05 +0200
watchdog: Don't throttle the watchdog
Stephane reported that when the machine locks up, the regular ticks,
which are responsible to resetting the throttle count, stop too.
Hence the ...
| Aug 23, 1:51 am 2010 |
| H. Peter Anvin | Re: [Patch] numa:x86_64: Cacheline aliasing makes for_ea ...
No, this isn't really the right way to go about it.
The whole point is to avoid reliance on undocumented side effects of the
specific implementations of an interface. That means creating a new
interface with the desired semantics, instead of creating a "local"
patch which happens to work for the current implementation -- and which
will break silently when the new implementation of the interface is
created, and which means the new implementation will be seen as causing
a performance ...
| Aug 23, 2:42 pm 2010 |
| Shinya Kuribayashi | Re: [PATCH v2 0/2] Deprecate ECCGETLAYOUT
On 8/21/2010 12:15 AM, Brian Norris wrote:
Thanks for the explanation, got it. I'm following that thread and
already know what's discussed and proposed, but couldn't follow the
changes made between numbered / revised patches with similar subjects.
--
Shinya Kuribayashi
Renesas Electronics
--
| Aug 22, 9:12 pm 2010 |
| Greg KH | Re: [stable] [0/6] 2.6.27.52 stable review [try 3]
Now queued up.
thanks,
greg k-h
--
| Aug 23, 3:44 pm 2010 |
| Bart Van Assche | Re: [Scst-devel] Fwd: Re: linuxcon 2010...
On Mon, Aug 23, 2010 at 3:47 PM, Joe Landman
(resending as plain text)
There is an important design difference between SCST and LIO: SCST by
defaults creates multiple threads to process the I/O operations for a
storage target, while LIO only creates a single thread per storage
target. This makes SCST perform measurably faster.
Bart.
--
| Aug 23, 8:12 am 2010 |
| Chetan Loke | Re: [Scst-devel] Fwd: Re: linuxcon 2010...
Forget that. You could have discussed this if there were code reviews
or other mainline inclusion emails from James B. From what I have
heard, the decision was taken around 8-9 months back.
Would anyone like to either comment/validate/refute this please? If
not then I would kindly request these guys to stop taking us for a
test drive. And also I'm not sure when was the last time James B.
bench-marked our scsi-stack. Even if I ACK in the xmit-path then I
can't push more than 100K IOPs. But ...
| Aug 23, 9:07 am 2010 |
| Joe Landman | Re: [Scst-devel] Fwd: Re: linuxcon 2010...
We haven't tested this in at least 6 months, but we did test iSCSI over
10GbE using SCST and STGT. This was one of the reasons we wound up
going with SCST. For the past several years, our performance on SCST
was much higher than on STGT.
If it helps, we can redo these tests with a modern kernel (2.6.35.x) and
same backend/frontend. We've been switching most of our IO performance
testing to Jens Axboe's excellent fio tool. I'd be happy to share our
testing decks with anyone (and ...
| Aug 23, 6:47 am 2010 |
| Vladislav Bolkhovitin | Re: [Scst-devel] Fwd: Re: linuxcon 2010...
Well, James, why not 100MbE? If you want a comparison of target
implementations you need a fast hardware with minimal latency.
Otherwise, the difference between the implementations can drown in the
overhead of the accompanying processing. 1GbE is a nearly 10 years ago
interface. Or are we going to stay ten years behind progress?
Thanks,
Vlad
--
| Aug 23, 12:41 pm 2010 |
| Chetan Loke | Re: [Scst-devel] Fwd: Re: linuxcon 2010...
I actually received 3+ off-post emails asking whether I was talking
about initiator or target in the 100K IOPS case below and what did I
mean by the ACKs.
I was referring to the 'Initiator' side.
ACKs == When scsi-ML down-calls the LLD via the queue-command, process
the sgl's(if you like) and then trigger the scsi_done up-call path.
Chetan Loke
--
| Aug 23, 11:03 am 2010 |
| Jens Axboe | Re: [PATCH] cciss: disable doorbell reset on reset_devices
Thanks Stephen, applied.
--
Jens Axboe
--
| Aug 23, 2:02 am 2010 |
| Andrew Morton | Re: [PATCH] mmc: rename dev_to_mmc_card to mmc_dev_to_card
On Fri, 20 Aug 2010 10:39:53 +0300
I edited the diff ;)
--
| Aug 23, 1:29 pm 2010 |
| Greg KH | Re: [stable] runaway loop modprobe char-major-5-1 has re ...
Now queued up for the next .35-stable kernel release.
thanks,
greg k-h
--
| Aug 23, 3:43 pm 2010 |
| Greg KH | Re: [MeeGo-Dev][PATCH] Topcliff: Update PCH_PHUB driver ...
Yes, it is trivial to make it support multiple devices, which makes it
easier in the future if you happen to have a machine with more than one.
thanks,
greg k-h
--
| Aug 23, 8:34 am 2010 |
| Masayuki Ohtake | Re: [MeeGo-Dev][PATCH] Topcliff: Update PCH_PHUB driver ...
----- Original Message -----
From: "Greg KH" <gregkh@suse.de>
To: "Masayuki Ohtake" <masa-korg@dsn.okisemi.com>
Cc: <meego-dev@meego.com>; "LKML" <linux-kernel@vger.kernel.org>; <yong.y.wang@intel.com>; <qi.wang@intel.com>;
<andrew.chih.howe.khor@intel.com>; <arjan@linux.intel.com>; <alan@linux.intel.com>; <margie.foster@intel.com>;
"Morinaga" <morinaga526@dsn.okisemi.com>
Sent: Friday, August 20, 2010 12:22 AM
I can understand your saying.
But our driver for Topcliff doesn't support multiple ...
| Aug 23, 5:30 am 2010 |
| Ike Panhc | Re: [PATCH 0/8] [Resend] ideapad: using EC command to co ...
Thanks for the DSDT and the following information.
I am not an expert on AML but after looking to the DSDT, I think I will
focus on what XCMD do.
I notice there are some interesting method/variable (Ex: BTEN/BTST..)
about bluetooth, but not have a good story about what's going on.
I think the only problem we have now is bluetooth sometimes not coming
back when rebooting after turn off bluetooth via sw rfkill. Try to find
--
| Aug 23, 1:22 am 2010 |
| Marco Stornelli | Re: [PATCH] Ramoops: use the platform data structure ins ...
It seems good. Currently there isn't any code that register a ramoops
device, isn't it?
--
| Aug 22, 11:48 pm 2010 |
| Kyungmin Park | Re: [PATCH] Ramoops: use the platform data structure ins ...
On Mon, Aug 23, 2010 at 3:48 PM, Marco Stornelli
At this time
I wrote it below
static struct ramoops_platform_data goni_ramoops_data = {
.mem_size = SZ_16K,
.mem_address = 0xED000000, /* MODEM SRAM */
};
static struct platform_device goni_ramoops = {
.name = "ramoops",
.dev = {
.platform_data = &goni_ramoops_data,
},
};
Thank you,
Kyungmin Park
--
| Aug 22, 11:53 pm 2010 |
| Peter Zijlstra | Re: [RFC PATCH 0/3] perf: show package power consumption ...
*sigh* that's exactly what we're doing, we're creating a separate
software hrtimer to create samples, the only thing that's different is
that we put this hrtimer and the hw-counter in a group and let the
hrtimer sample include the hw-counter's value.
If you then weight the samples by the hw-counter delta, you get
something that's more or less related to the thing the hw-counter is
counting.
For counter's that do no provide overflow interrupts this is the only
The wrap issue it totally ...
| Aug 23, 2:31 am 2010 |
| David Miller | Re: 64-bit ppc rwsem
From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Recently there was a thread where this was declared absolutely illegal.
Maybe it was allowed, or sort-of worked before, and that's why it's
accounted for with IRQ disables in some implementations. I don't
know.
--
| Aug 23, 3:18 pm 2010 |
| David Miller | Re: [PATCH 2/2] rwsem: Move powerpc atomic-long based im ...
From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Acked-by: David S. Miller <davem@davemloft.net>
I'll move sparc64 over to this once it hits Linus's tree.
--
| Aug 22, 9:39 pm 2010 |
| Benjamin Herrenschmidt | Re: 64-bit ppc rwsem
I've seen drivers in the past do trylocks at interrupt time ... tho I
It depends how sensitive rwsems are.
The "generic" variant based on atomic's and cmpxchg on powerpc is
sub-optimal in the sense that it has stronger memory barriers that would
be necessary (atomic_inc_return for example has both acquire and
release).
But that vs. one more pile of inline asm, we decided it wasn't hot
enough a spot for us to care back then.
Cheers,
Ben.
--
| Aug 23, 3:01 pm 2010 |
| Arnd Bergmann | Re: 64-bit ppc rwsem
The implementation looks good for asm-generic, but there is now an asymmetry
between the spinlock and the atomic_long_t based version.
Maybe we can make them both do the same thing, either of
1. create include/linux/rwsem-cmpxchg.h and add an
#elif defined(CONFIG_RWSEM_GENERIC_ATOMIC) to include/linux/rwsem.h
2. move include/linux/rwsem-spinlock.h to include/asm-generic/ and
include that from all architectures that want the spinlock based version.
Further comments:
* Alpha has ...
| Aug 23, 6:44 am 2010 |
| Jens Axboe | Re: [BUG raid1] kernel BUG at drivers/scsi/scsi_lib.c:1113
It's so hard to find decent staff these days, the things I have to
put up with...
I'm back now. Have you queued it up, or should I get off my hiney
and add it to the mix?
--
Jens Axboe
--
| Aug 23, 2:01 am 2010 |
| James Bottomley | Re: [BUG raid1] kernel BUG at drivers/scsi/scsi_lib.c:1113
It's in my email queue, but not in a git tree, yet ... you can take it
back if you want ...
James
--
| Aug 23, 10:08 am 2010 |
| Jens Axboe | Re: [BUG raid1] kernel BUG at drivers/scsi/scsi_lib.c:1113
Will do!
--
Jens Axboe
--
| Aug 23, 10:18 am 2010 |
| Américo Wang | Aug 22, 11:52 pm 2010 | |
| Michal Simek | Re: [PATCH] serial: Add CONSOLE_POLL support for uartlite
yes, but ulite_console_wait_tx is used only when uartlite console is
used. Not sure if I tried to setup console and KGDB but in this case I
I will changed driver and send v2.
Thanks,
Michal
--
Michal Simek, Ing. (M.Eng)
w: www.monstr.eu p: +42-0-721842854
Maintainer of Linux kernel 2.6 Microblaze Linux - http://www.monstr.eu/fdt/
Microblaze U-BOOT custodian
--
| Aug 23, 1:47 am 2010 |
| xiaoyu Du | Re: [patch nf-next] IPVS: ICMPv6 checksum calculation
Yes, I had added it and test it, it works.
--
| Aug 22, 7:54 pm 2010 |
| Andrew Morton | Re: [patch 4/6] jbd: remove dependency on __GFP_NOFAIL
On Tue, 24 Aug 2010 00:03:47 +0200
The concept should be encapsulated in _some_ centralised fashion.
Helper functions would work as well as __GFP_NOFAIL, and will move any
runtime cost away from the good code and push it onto the bad code.
--
| Aug 23, 3:11 pm 2010 |
| Andrew Morton | Re: [patch 4/6] jbd: remove dependency on __GFP_NOFAIL
On Tue, 17 Aug 2010 11:51:03 +0200
Please unadd it. JBD should be fixed so that it can appropriately
handle out-of-memory conditions. Until that time we shouldn't hide its
shortcomings with this open-coded equivalent.
--
| Aug 23, 12:28 pm 2010 |
| David Rientjes | Re: [patch 1/6] md: remove dependency on __GFP_NOFAIL
And how is this not done properly if it's not even needed for any of the
allocations in this patchset since the page allocator loops forever for
their orders and context? (This is why we don't need to add __GFP_NOWARN
in its place.)
This is a cleanup patchset to remove the unnecessary use of __GFP_NOFAIL,
there _are_ GFP_KERNEL | __GFP_NOFAIL allocations that need to be
addressed in phase three.
| Aug 23, 1:13 pm 2010 |
| Andrew Morton | Re: [patch 1/6] md: remove dependency on __GFP_NOFAIL
On Mon, 16 Aug 2010 19:57:51 -0700 (PDT)
erm.
The reason for adding GFP_NOFAIL in the first place was my observation
that the kernel contained lots of open-coded retry-for-ever loops.
All of these are wrong, bad, buggy and mustfix. So we consolidated the
wrongbadbuggymustfix concept into the core MM so that miscreants could
be easily identified and hopefully fixed.
I think that simply undoing that change is a bad idea - it allows the
wrongbadbuggymustfix code to hide from view.
The ...
| Aug 23, 12:26 pm 2010 |
| David Rientjes | Re: [patch 1/6] md: remove dependency on __GFP_NOFAIL
That consolidation would have been unnecessary, then, since all
allocations with order < PAGE_ALLOC_COSTLY_ORDER automatically loop
indefinitely in the page allocator. struct dm_region allocations would
already do that.
So this retry loop doesn't actually do anything that the page allocator
already doesn't, with or without __GFP_NOFAIL. The difference here is
that
- it doesn't depend on the page allocator's implementation, which may
change over time, and
- it adds ...
| Aug 23, 12:35 pm 2010 |
| Andrew Morton | Re: [patch 1/6] md: remove dependency on __GFP_NOFAIL
On Mon, 23 Aug 2010 12:35:22 -0700 (PDT)
The difference is that an order-0 !__GFP_NOFAIL allocation attempt can
The JBD one is hard - I haven't looked at the others.
We should fix them.
--
| Aug 23, 12:51 pm 2010 |
| Andrew Morton | Re: [patch 1/6] md: remove dependency on __GFP_NOFAIL
Hows about you add a helper function
void *[kmalloc|alloc_page]_retrying_forever_because_i_suck(lots of args)
then convert the callsites to use that, then nuke __GFP_NOFAIL?
--
| Aug 23, 1:01 pm 2010 |
| David Rientjes | Re: [patch 1/6] md: remove dependency on __GFP_NOFAIL
This is GFP_NOIO, which all the allocations in this patchset are (or
GFP_NOFS), so the oom killer isn't involved.
--
| Aug 23, 1:03 pm 2010 |
| David Rientjes | Re: [patch 1/6] md: remove dependency on __GFP_NOFAIL
That would only serve as documentation of a caller that could potentially
loop forever waiting for memory (which I did by adding "/* FIXME: this may
potentially loop forever */") since all of the allocations in this
patchset never loop in the code that was added, they already loop forever
in the page allocator doing the same thing. The hope is that kswapd will
eventually be able to free memory since direct reclaim will usually fail
for GFP_NOFS and we simply need to wait long enough for ...
| Aug 23, 1:08 pm 2010 |
| Pekka Enberg | Re: [patch 1/6] md: remove dependency on __GFP_NOFAIL
On Mon, Aug 23, 2010 at 11:01 PM, Andrew Morton
I'd prefer killing off __GFP_NOFAIL properly :-)
--
| Aug 23, 1:09 pm 2010 |
| David Rientjes | Re: [patch 4/6] jbd: remove dependency on __GFP_NOFAIL
There's no runtime cost on the bad code, the calls never loop since the
page allocator already loops itself. Regardless, I'll add a helper
function to include/linux/gfp.h to do this with a WARN_ON_ONCE() inside
the loop in case any order > PAGE_ALLOC_COSTLY_ORDER callers are ever
added (and I really hope nobody merges those).
--
| Aug 23, 3:22 pm 2010 |
| Andrew Morton | Re: [patch 1/6] md: remove dependency on __GFP_NOFAIL
On Mon, 23 Aug 2010 13:08:53 -0700 (PDT)
While holding locks which will prevent kswapd from doing anything useful.
--
| Aug 23, 1:23 pm 2010 |
| Jan Kara | Re: [patch 4/6] jbd: remove dependency on __GFP_NOFAIL
Makes sense. Removed the patch.
David, could you provide a function for non-failing allocation and then
use this from JBD and whatever else code is also affected? That looks like
a cleaner solution as Andrew points out...
Honza
--
Jan Kara <jack@suse.cz>
SUSE Labs, CR
--
| Aug 23, 3:21 pm 2010 |
| David Rientjes | Re: [patch 1/6] md: remove dependency on __GFP_NOFAIL
It implies that these calls are special in some way, basically to mean
we have no sane error handling for failures, when in reality this is only
a function of the allocation order when the context does not have
__GFP_FS. You may as well just add BUG_ON(!nreg) here instead.
I thought my "/* FIXME: this may potentially loop forever */" was
sufficient to mean that the allocation must succeed independent of the
page allocator's implementation, but perhaps you find greping for ...
| Aug 23, 1:37 pm 2010 |
| David Rientjes | Re: [patch 1/6] md: remove dependency on __GFP_NOFAIL
Nothing is getting hidden in the callers here, all of the patches in this
series are using __GFP_NOFAIL unnecessarily.
--
| Aug 23, 1:40 pm 2010 |
| Jan Kara | Re: [patch 4/6] jbd: remove dependency on __GFP_NOFAIL
Well, I wanted to make it easy for David so that he can proceed with his
removal of __GFP_NOFAIL. I agree that pushing the looping from the
allocator to the callers seems of a disputable value to me as well. So do
you think that we should keep __GFP_NOFAIL as long as all callers are not
able to handle allocation failures in more reasonable way?
Honza
--
Jan Kara <jack@suse.cz>
SUSE Labs, CR
--
| Aug 23, 3:03 pm 2010 |
| Pekka Enberg | Re: [patch 1/6] md: remove dependency on __GFP_NOFAIL
Hi David,
My point is that I don't think Andrew's helper will change all that
much. Fixing the actual callers is the hard part and I don't see your
patches helping that either. Hiding the looping in filesystem code is
only going to make problematic callers harder to find (e.g
kmem_alloc() in XFS code).
FWIW, I'd just add a nasty WARN_ON in the page allocator and put a big
fat "fix your shit" comment on top of it to motivate people to fix
their code.
Pekka
--
| Aug 23, 1:29 pm 2010 |
| Huang Ying | Re: [PATCH 1/4] [Patch-next] ACPI, APEI, ERST Fix the wr ...
Acked-by: Huang Ying <ying.huang@intel.com>
--
| Aug 22, 5:26 pm 2010 |
| Christoph Hellwig | Re: [RFC PATCHSET block#for-2.6.36-post] block: convert ...
Phillipp and Lars,
can you look at the changes in
http://www.spinics.net/lists/linux-fsdevel/msg35884.html
and
http://www.spinics.net/lists/linux-fsdevel/msg36001.html
and see how drbd can be adapted to it? It's one of two drivers still
missing, and because it's not quite intuitive what it's doing it's
very hard for Tejun and me to help.
--
| Aug 23, 9:47 am 2010 |
| James Bottomley | Re: [Scst-devel] Fwd: Re: linuxcon 2010...
So 1. comes directly from what you quote below. The sysfs thing is
buried in another long thread that I can't be bothered to dig through
To be honest, I can't see how you arrive at that interpretation from the
quote below. It specifically says "what it comes down to is that if we
had a kernel side protocol accelerator for STGT, the project would no
longer suffer from this theoretical failing. *Both* of you have such a
thing embedded in your respective submissions (all 74k LOC of them) ...
| Aug 23, 10:58 am 2010 |
| James Bottomley | Re: [Scst-devel] Fwd: Re: linuxcon 2010...
That's not really going to help ... I don't really want another 500 mail
thread of partisan yelling about which is better. I'm happy to concede
that either could beat the other on a given set of well chosen tests ...
but knowing that is completely useless to me. I can also guess, given
the antipathy, that neither of you would agree on a definitive set of
comparison tests.
So it comes down to a community test instead: which works better with
the community. This is important to me because ...
| Aug 23, 1:38 pm 2010 |
| Vladislav Bolkhovitin | Re: [Scst-devel] Fwd: Re: linuxcon 2010...
Here is a comprehensive features comparison I prepared some time ago:
http://scst.sourceforge.net/comparison.html. It's a bit outdated at the
moment, but I'm going to make it completely up do date in the next few days.
Vlad
--
| Aug 23, 12:40 pm 2010 |
| Vladislav Bolkhovitin | Re: [Scst-devel] Fwd: Re: linuxcon 2010...
A fair public review of SCST code with a fair _public_ comparison
without any deals and conspiracy behind our back is, basically, all we
are asking. Let the best code win.
Vlad
--
| Aug 23, 12:40 pm 2010 |
| James Bottomley | Re: [Scst-devel] Fwd: Re: linuxcon 2010...
I have avoided this decision for several years in the vain hope that
some accommodation could be found. However, since I foresee a mergeable
patch in my inbox in the very near future, it's shortly becoming
unavoidable.
--
| Aug 23, 1:21 pm 2010 |
| Bart Van Assche | Re: [Scst-devel] Fwd: Re: linuxcon 2010...
On Mon, Aug 23, 2010 at 6:59 PM, James Bottomley
And when did you indicate that ?
Sorry James, but the above looks to me like an interesting attempt to
rewrite history. What you repeated a few times in that thread from
January 2008 is that you were not convinced that a kernel-based
storage target could outperform a user-space target implementation. So
at least the impression was created that you were not going to accept
a kernel-based storage target for inclusion in the Linux kernel. ...
| Aug 23, 10:44 am 2010 |
| James Bottomley | Re: [Scst-devel] Fwd: Re: linuxcon 2010...
The best thread on the topic is this massive one:
http://marc.info/?t=120109820100005
I want replacement because evidence suggests that multiple things doing
the same thing don't get as much attention as a single one. We need to
support STGT because it's the one that has the in-kernel user base.
Just breaking them constitutes an ABI problem under the new kernel
Yes, in that thread.
My basic conclusion was that there's no incredible discriminator between
LIO and STGT (although there ...
| Aug 23, 9:59 am 2010 |
| Bart Van Assche | Re: [Scst-devel] Fwd: Re: linuxcon 2010...
On Mon, Aug 23, 2010 at 7:58 PM, James Bottomley
Let us return to the three acceptance criteria. At this time none of
the existing kernel-based target frameworks support ibmvstgt and hence
none of them satisfy criterion [1]. Yet these criteria have been used
to decide that one kernel-based target framework will be accepted and
that the other will not be accepted. I'm afraid that I missed
something ?
Also, you write that you, as a kernel maintainer, might become in a
position that you have to ...
| Aug 23, 1:11 pm 2010 |
| john stultz | Re: [PATCH 1/5] ptp: Added a brand new class driver for ...
Sorry for the slow response here, I got busy with other work at the end
of last week.
Sure. There are some clear parallels and the API seems to match, but
what I'm asking is: does it make sense from an overall API view that
Sure, but are they conceptually neutral? There are other clock
synchronization algorithms out there. Will they need their own
similar-but-different clock_ids?
Look at the other clock ids and what the represent:
CLOCK_REALTIME : Wall time (possibly freq/offset ...
| Aug 23, 1:08 pm 2010 |
| john stultz | Re: [PATCH 1/5] ptp: Added a brand new class driver for ...
Could you expand on this?
Could we not add a adjustment mode ADJ_SETOFFSET or something that would
You're right that the timex is a little crufty. But its legacy that we
will support indefinitely. So following the established interface helps
maintainability.
So if the clock_adjtime interface is needed, it would seem best for it
to be generic enough to support not only PTP, but also the NTP kernel
PLL.
In effect, this would make clock_adjtime(or clock_adjtimex) identical to
adjtimex, ...
| Aug 23, 1:21 pm 2010 |
| Jean Pihet | Re: [PATCH] tracing, perf: add more power related events
Hi,
Any news on the topic? Any feedback on the code or on the new events
Thanks!
--
| Aug 23, 3:25 am 2010 |
| Sascha Hauer | [PATCH 3/3 v2] dmaengine: Add Freescale i.MX SDMA support
This patch adds support for the Freescale i.MX SDMA engine.
The SDMA engine is a scatter/gather DMA engine which is implemented
as a seperate coprocessor. SDMA needs its own firmware which is
requested using the standard request_firmware mechanism. The firmware
has different entry points for each peripheral type, so drivers
have to pass the peripheral type to the DMA engine which in turn
picks the correct firmware entry point from a table contained in
the firmware image itself.
The original ...
| Aug 23, 5:57 am 2010 |
| Linus Walleij | Re: [PATCH 3/3 v2] dmaengine: Add Freescale i.MX SDMA support
These macros expand to the local variable "sdma" which must
be present in all functions using them. I don't know what is
considered moste readable, but I would certainly just
#define SDMA_FOO (0x0123)
(...)
u32 foo = readl(sdma->regs + SDMA_FOO);
Some kerneldoc here describing especially
@unused: padding for register cast
@usused1: padding for register cast
Hm "unused" and "unused1" wrinkles my binary brain,
can you call the first one "unused0" for my perceptions
id1 und id2 ...
| Aug 23, 10:30 am 2010 |
| Uwe Kleine-König | Re: [PATCH 3/3 v2] dmaengine: Add Freescale i.MX SDMA support
Hallo Sascha,
I'd prefer having an accessor function like
u32 sdma_read(struct whatever *sdma, unsigned offset)
{
return __raw_readl(sdma->regs + offset);
}
I'm not sure what CodingStyle recommends, but I'd not add a space
You didn't comment my suggestion to use an array here. Something like
struct {
const char *name;
u32 addr;
__raw_readl?
Best regards
Uwe
--
Pengutronix e.K. | Uwe Kleine-König |
Industrial Linux Solutions ...
| Aug 23, 10:48 am 2010 |
| Sascha Hauer | Re: [PATCH 2/3] dmaengine: add wrapper functions for dmaengine
Dan,
Any comment on this one?
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
--
| Aug 23, 12:17 am 2010 |
| Jiri Kosina | Re: [PATCH] Kconfig: deleted a word which apeared twice
Applied, thanks.
--
Jiri Kosina
SUSE Labs, Novell Inc.
--
| Aug 23, 6:35 am 2010 |
| Nikanth Karthikesan | Re: [RFC][PATCH] Per file dirty limit throttling
But this has nothing special to do with the cases like multi-threaded dirtier,
which is why I was confused. :)
Thanks
Nikanth
--
| Aug 23, 5:19 am 2010 |
| KOSAKI Motohiro | Aug 22, 5:22 pm 2010 | |
| M. Vefa Bicakci | Re: [Bisected Regression in 2.6.35] A full tmpfs filesys ...
Hello,
No problem. I did the tests again according to your new instructions,
and I am appending the results.
Regards,
MemTotal: 3104484 kB
MemFree: 1258780 kB
Buffers: 30820 kB
Cached: 1693836 kB
SwapCached: 0 kB
Active: 1670344 kB
Inactive: 137960 kB
Active(anon): 1633940 kB
Inactive(anon): 26224 kB
Active(file): 36404 kB
Inactive(file): 111736 kB
Unevictable: 32 kB
Mlocked: 32 ...
| Aug 22, 11:27 pm 2010 |
| Greg KH | Re: 2.6.27.52 stable review
Now applied.
thanks,
greg k-h
--
| Aug 23, 3:27 pm 2010 |
| Suresh Siddha | Re: [patch 3/3] sched: move sched_avg_update() to update ...
Updated patch appended. Thanks.
---
From: Suresh Siddha <suresh.b.siddha@intel.com>
Subject: sched: move sched_avg_update() to update_cpu_load()
Currently sched_avg_update() (which updates rt_avg stats in the rq) is getting
called from scale_rt_power() (in the load balance context) which doesn't take
rq->lock.
Fix it by moving the sched_avg_update() to more appropriate update_cpu_load()
where the CFS load gets updated aswell.
Signed-off-by: Suresh Siddha ...
| Aug 23, 1:42 pm 2010 |
| Jens Axboe | Re: [PATCH] blk-fs: put dev->kobj in blk_register_queue ...
Looks correct. Thanks, applied.
--
Jens Axboe
--
| Aug 23, 3:31 am 2010 |
| Christoph Hellwig | Re: [PATCHSET block#for-2.6.36-post] block: replace barr ...
They usually do. I have one that doesn't, but SYNCHRONIZE CACHE on
it is so fast that it effectively must be a no-op.
--
| Aug 23, 5:48 am 2010 |
| Tejun Heo | Re: [PATCHSET block#for-2.6.36-post] block: replace barr ...
Hello,
At least on ATA, FLUSH failure implies that data is already lost, so
I'll take a look but is there an easy to test mpath other than having
Argh... then it will have to discern why FLUSH failed. It can retry
for transport errors but if it got aborted by the device it should
report upwards. Maybe just turn off barrier support in mpath for now?
Thanks.
--
tejun
--
| Aug 23, 5:14 am 2010 |
| Christoph Hellwig | [PATCH] block: simplify queue_next_fseq
We need to call blk_rq_init and elv_insert for all cases in queue_next_fseq,
so take these calls into common code. Also move the end_io initialization
from queue_flush into queue_next_fseq and rename queue_flush to
init_flush_request now that it's old name doesn't apply anymore.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Index: linux-2.6/block/blk-flush.c
===================================================================
--- linux-2.6.orig/block/blk-flush.c 2010-08-17 15:34:27.864004351 ...
| Aug 23, 7:15 am 2010 |
| Christoph Hellwig | Re: [PATCHSET block#for-2.6.36-post] block: replace barr ...
I don't think we can simply call blk_queue_flush - we must ensure to
never set more bits than the device allows. We'll just need two
sets of flags in the request queue, with the sysfs file checking that
it never allows more flags than blk_queue_flush.
I'll prepare a patch for this on top of the current series.
--
| Aug 23, 7:19 am 2010 |
| Ric Wheeler | Re: [PATCHSET block#for-2.6.36-post] block: replace barr ...
Hi Jens,
There are actually two distinct problems:
(1) arrays with a non-volatile write cache (battery backed, navram, whatever)
that do not NOOP a SYNC_CACHE command. I know of one brand that seems to do
this, but it is not a common brand. If we do not issue flushes for write through
caches, I think that we will avoid this in any case.
(2) hardware raid cards with internal buffer memory and on-card battery backup
(they sit in your server, disks sit in jbod like expansion shelves). ...
| Aug 23, 8:19 am 2010 |
| Tejun Heo | Re: [PATCHSET block#for-2.6.36-post] block: replace barr ...
Hello,
A bit nit picky but flash devices can also have writeback caches and
the term physical medium sounds a bit off for those cases. Maybe just
It may be worthwhile to explain the sequence of operations when
REQ_FLUSH + data + REQ_FUA is executed. It can be extrapolated from
the previous two descriptions but I think giving examples of different
sequences depending on FLUSH/FUA configuration would be helpful to
help understanding the overall picture of things.
Other than those, looks ...
| Aug 23, 5:36 am 2010 |
| Tejun Heo | Re: [PATCHSET block#for-2.6.36-post] block: replace barr ...
Hello,
Yeah, that sounds reasonable. blk_queue_flush() can be called anytime
without locking anyway, so it should be really easy to implement too.
Thanks.
--
tejun
--
| Aug 23, 7:13 am 2010 |
| Christoph Hellwig | Re: [PATCHSET block#for-2.6.36-post] block: replace barr ...
I haven't seen it. I don't care particularly about this case, but once
it a while people want to disable flushing for testing or because they
really don't care.
What about adding a sysfs attribue to every request_queue that allows
disabling the cache flushing feature? Compared to the barrier option
this controls the feature at the right level and makes it available
to everyone instead of beeing duplicated. After a while we can then
simply ignore the barrier/nobarrier options.
--
| Aug 23, 7:08 am 2010 |
| Christoph Hellwig | Re: [PATCHSET block#for-2.6.36-post] block: replace barr ...
Below is an updated version of the documentation. It fixes several
typos Zach Brown noticed and replaces all references to a physical
medium with the term non-volatile storage. I haven't added any examples
yet as I need to figure how they fit into the rest of the document.
---
Explicit volatile write cache control
=====================================
Introduction
------------
Many storage devices, especially in the consumer market, come with volatile
write back caches. That means ...
| Aug 23, 7:05 am 2010 |
| Mike Snitzer | Re: [PATCHSET block#for-2.6.36-post] block: replace barr ...
On Mon, Aug 23 2010 at 8:14am -0400,
It is easy enough to make a single path use mpath. Just verify/modify
/etc/multipath.conf so that your device isn't blacklisted.
multipathd will even work with a scsi-debug device.
You obviously won't get path failover but you'll see the path get marked
Yes, we discussed this issue of needing to train dm-multipath to know if
there was a transport failure or not (at LSF). But I'm not sure when
Hannes intends to repost his work in this area (updated ...
| Aug 23, 7:17 am 2010 |
| Ric Wheeler | Re: [PATCHSET block#for-2.6.36-post] block: replace barr ...
Arrays are not a problem in general - they normally have internally, redundant
batteries to hold up the cache.
The issue is when you have an internal hardware RAID card with a large cache.
Those cards sit in your server and the batteries on the card protect its
internal cache, but do not have the capacity to hold up the drives behind it.
Normally, those drives should have their write cache disabled, but sometimes
(especially with S-ATA disks) this is not done.
ric
--
| Aug 23, 6:58 am 2010 |
| Tejun Heo | Re: [PATCHSET block#for-2.6.36-post] block: replace barr ...
Hello,
The term is very foreign to people outside of enterprise / database
loop. writeback-cache.txt or write-cache-control.txt sounds good
It might be useful to give several example configurations with
different cache configurations. I don't have much experience with
battery backed arrays but aren't they suppose to report write through
cache automatically?
Thanks.
--
tejun
--
| Aug 23, 5:30 am 2010 |
| John Robinson | OT grammar nit Re: [PATCH] block: simplify queue_next_fseq
Nit: it's "its" above, not "it's". If in doubt, if it's "it is" (or "it
has") it's "it's" but if it could be "his" or "hers" it's "its".
I'm guessing English isn't your first language (a) because of your .de
address and (b) because it's better than most British people's, but
still, it's a common mistake. If I can remember any of the German I
studied all those years ago, "its" is roughly equivalent to "sein", and
"it's" to "es ist".
Cheers,
John.
--
| Aug 23, 9:28 am 2010 |
| Sergey Vlasov | Re: [dm-devel] [PATCHSET block#for-2.6.36-post] block: r ...
On Mon, Aug 23, 2010 at 11:19:13AM -0400, Ric Wheeler wrote:
Actually some of such cards keep write cache on the drives enabled and
issue FLUSH CACHE commands to the drives. E.g., 3ware 9690SA behaves
like this at least with SATA drives (the FLUSH CACHE commands can be
seen after enabling performance monitoring - they often end up in the
"10 commands having the largest latency" table). This can actually be
safe if the card waits for the FLUSH CACHE completion before making
the write cache ...
| Aug 23, 9:45 am 2010 |
| Ric Wheeler | Re: [dm-devel] [PATCHSET block#for-2.6.36-post] block: r ...
Yes - this is certainly one way to do it. Note that this will not work if the
card advertises itself as a write through cache (and we end up not sending down
the SYNC_CACHE commands).
At least one hardware RAID card (I unfortunately cannot mention the brand) did
not do this command forwarding.
ric
--
| Aug 23, 9:49 am 2010 |
| Jens Axboe | Re: [PATCH v2] BLOCK: fix bio.bi_rw handling
Added, sorry for the delay!
--
Jens Axboe
--
| Aug 23, 3:33 am 2010 |
| Jens Axboe | Re: [PATCH] cfq-iosched: cfq-iosched: Implement group id ...
Thanks Vivek, I have applied the patches.
--
Jens Axboe
--
| Aug 23, 3:26 am 2010 |
| Kevin Hilman | Re: [PATCH 2/2] platform: Facilitate the creation of pse ...
Completely agree here.
Any overrides of the dev_pm_ops functions that do not also call the
pm_generic_* functions (or their equivalents) should be suspect.
Yes, I'll be glad to work on this too, but first I need to get through
reviewing the backlog of all the OMAP drivers we're converting to
runtime PM.
Kevin
--
| Aug 23, 7:53 am 2010 |
| Christian Dietrich | Re: Dead Config Option STMMAC_ETH?
Peppe CAVALLARO <peppe.cavallaro@st.com> writes:
Hm, i think it would be good if this dependency is removed, if it isn't
needed, because then a allyes config would compile test this peace of
code, and it can't die silently with changes around it.
greetz didi
--
(λ x . x x) (λ x . x x) -- See how beatiful the lambda is
No documentation is better than bad documentation
-- Das Ausdrucken dieser Mail wird urheberrechtlich verfolgt.
--
| Aug 23, 1:42 am 2010 |
| Peppe CAVALLARO | RE: Dead Config Option STMMAC_ETH?
No problem. I'll remove it and review the Kconfig asap.
| Aug 23, 1:44 am 2010 |
| Naoya Horiguchi | Re: [PATCH 1/9] HWPOISON, hugetlb: move PG_HWPoison bit check
Thank you!
Naoya Horiguchi
--
| Aug 23, 2:24 am 2010 |
| Jarod Wilson | Re: [PATCH 12/18 v2] staging: crystalhd: call disable_pc ...
Looks fine by me.
Acked-by: Jarod Wilson <jarod@redhat.com>
--
Jarod Wilson
jarod@redhat.com
--
| Aug 23, 10:47 am 2010 |
| Eric Paris | Re: [GIT PULL] notification tree - try 37!
Spent a bit of the weekend trying to figure out what you were doing and
couldn't reproduce it or find it in the code because I had already fixed
it (albeit for slightly different reasons). The patch in question was:
http://marc.info/?l=linux-kernel&m=128214903125780&w=2
the vfsmount_test_mask was always initialized but since no vfsmount
marks were found it was never cleared. This left the code thinking that
the given (inode) mark was interested in the event. I think you could
reproduce ...
| Aug 23, 9:46 am 2010 |
| Andreas Gruenbacher | Re: [GIT PULL] notification tree - try 37!
That seems to explain it. I can no longer reproduce the bug with your current
for-linus tree (3ba67c8a) using my previous method.
Sorry this bug was difficult for you to track down; I was not even aware of
No, the open listener gets:
d/ OPEN,ISDIR
and the close listener gets:
d/ CLOSE_NOWRITE,CLOSE,ISDIR
I tried to reproduce the previously failing case with inotifywait. I can see
that inotifywait receives five inotify events at the syscall level, but it
will not report events ...
| Aug 23, 3:38 pm 2010 |
| Shaohua Li | Re: [patch]x86: avoid unnecessary tlb flush
Hi Andrea,
can you look at this patch?
Thanks,
--
| Aug 22, 5:43 pm 2010 |
| tip-bot for Shaohua Li | [tip:x86/mm] x86, mm: Avoid unnecessary TLB flush
Commit-ID: 61c77326d1df079f202fa79403c3ccd8c5966a81
Gitweb: http://git.kernel.org/tip/61c77326d1df079f202fa79403c3ccd8c5966a81
Author: Shaohua Li <shaohua.li@intel.com>
AuthorDate: Mon, 16 Aug 2010 09:16:55 +0800
Committer: H. Peter Anvin <hpa@zytor.com>
CommitDate: Mon, 23 Aug 2010 10:04:57 -0700
x86, mm: Avoid unnecessary TLB flush
In x86, access and dirty bits are set automatically by CPU when CPU accesses
memory. When we go into the code path of below ...
| Aug 23, 10:57 am 2010 |
| Eric Dumazet | Re: [BISECTED][2.6.35 regression] iptables busted on Mac G5
CC netdev
Please send this patch to netdev@vger.kernel.org and David S. Miller,
because it seems Patrick is on vacation or something.
Acked-by: Eric Dumazet <eric.dumazet@gmail.com>
Thanks
--
| Aug 23, 5:34 am 2010 |
| Mikael Pettersson | Re: [BISECTED][2.6.35 regression] iptables busted on Mac G5
Florian Westphal writes:
> Mikael Pettersson <mikpe@it.uu.se> wrote:
> > > I'll try to narrow it down further next week when I'm at the
> > > machine's location again. Meanwhile I would be grateful if
> > > anyone has any ideas about what the issue might be. I'll add
> > > that a Mac G4 (ppc32) with similar kernel configuration and
> > > user-space works fine with 2.6.35 and iptables.
> >
> > The bug is still present in 2.6.36-rc2.
>
> sigh.
> Do you run 64 bit kernel with ...
| Aug 23, 6:14 am 2010 |
| Florian Westphal | Re: [BISECTED][2.6.35 regression] iptables busted on Mac G5
sigh.
Do you run 64 bit kernel with 32bit userland?
If so, yes, thats broken since 2.6.35. I submitted a fix
(http://marc.info/?l=netfilter-devel&m=128116762801769&w=2),
but it was not yet applied.
Will resend it later today.
--
| Aug 23, 5:16 am 2010 |
| Mikael Pettersson | [BISECTED][2.6.35 regression] iptables busted on Mac G5
On Thu, 5 Aug 2010, Mikael Pettersson wrote:
> The machine is a Mac G5 (ppc64) with Fedora 11 user-space,
> most of it 32-bit. Everything worked fine with kernel 2.6.34.
>
> With kernel 2.6.35 however the machine comes up, seemingly with
> networking operational according to the kernel log, but neither
> NIC will actually send or receive anything including pings. There
> are no errors, just no traffic.
>
> Initial investigation shows that 2.6.34-git5 was the last kernel
> that ...
| Aug 23, 5:11 am 2010 |
| Jiri Olsa | Re: [PATCH] trace: add graph output support for wakeup tracer
hi,
any feedback?
thanks,
jirka
--
| Aug 23, 3:22 am 2010 |
| Paul Menage | Re: [PATCH v5 2/3] cgroups: add can_attach callback for ...
Acked-by: Paul Menage <menage@google.com>
Some of the can_attach() methods could be simplified slightly by
directly returning the result of cgroup_can_attach_per_thread()
Paul
--
| Aug 23, 4:31 pm 2010 |
| Paul Menage | Re: [PATCH v5 1/3] cgroups: read-write lock CLONE_THREAD ...
Acked-by: Paul Menage <menage@google.com>
Paul
--
| Aug 23, 4:35 pm 2010 |
| Mark Whitis | Re: usbtmc makes Rigol DS1052E oscilloscope crash
Another data point:
The author of one libusb based driver for this scope, after corresponding
with rigol, found it necessary to limit the first usb read from the bulk
endpoint to 64 bytes. After that continuation requests were allowed to
be full size. It is possible this is what is causing the symptoms,
though it is a bit odd that the error doesn't show up until 2K later.
If this is the source of the problem (and if it isn't, it is apparently
still the source of other problems), ...
| Aug 23, 1:49 pm 2010 |
| Jens Axboe | Re: [PATCH v2] loop: add some basic read-only sysfs attributes
Looks good to me as well and agree on the ioctls. Care to resend
a fresh patch and I will queue it up for 2.6.37.
--
Jens Axboe
--
| Aug 23, 5:30 am 2010 |
| Karel Zak | Re: [PATCH v2] loop: add some basic read-only sysfs attributes
Jens, ping... it would be really really nice to have this feature in
kernel.
The ioctls are useless and I'd like to minimize number of situations
where mount(8) behaviour depends on /etc/mtab.
Thanks.
Karel
--
Karel Zak <kzak@redhat.com>
http://karelzak.blogspot.com
--
| Aug 23, 5:29 am 2010 |
| Neil Horman | Re: [RFC PATCH v3] core_pattern: fix long parameters was ...
This looks alot cleaner. Thanks!
Reviewed-by: Neil Horman <nhorman@tuxdriver.com>
--
| Aug 23, 4:07 am 2010 |
| KOSAKI Motohiro | Re: [RFC PATCH v3] core_pattern: fix long parameters was ...
Unfortunatelly, I have no time to review deeply this one. but I see my test
works. Also, I'd like to say I like this one.
Thanks.
--
| Aug 23, 4:02 pm 2010 |
| Andrew Morton | Re: [RFC PATCH v3] core_pattern: fix long parameters was ...
On Fri, 20 Aug 2010 17:35:58 +0800
Quite a bit of code duplication there. A little helper function which
adds a single char to the output would tidy that up.
However I think that if the % and %% handers are converted to call
cn_printf() then the output is always null-terninated and the third
hunk of code above simply becomes unneeded?
Something like this, although I didn't try very hard. Just a
suggestion to work with ;)
fs/exec.c | 63 ...
| Aug 23, 2:18 pm 2010 |
| Yuhong Bao | RE: support for drives larger than 2TiB
A more detailed review from AnandTech:
http://www.anandtech.com/show/3858/the-worlds-first-3tb-hdd-seagate-goflex-desk-3tb-re...
--
| Aug 23, 12:40 am 2010 |
| Avi Kivity | Re: [PATCH v5 06/12] Add get_user_pages() variant that f ...
--
error compiling committee.c: too many arguments to function
--
| Aug 23, 8:50 am 2010 |
| Avi Kivity | Re: [PATCH v5 08/12] Inject asynchronous page fault into ...
Please don't add more stats, instead add tracepoints which can be
converted to stats by userspace.
Ok. so token is globally unique. We're limited to 4096 vcpus, I guess
that's fine. Wraparound at 1M faults/vcpu, what's the impact? failure
if we have 1M faulting processes on one vcpu?
This goto is pretty ugly. How about:
async = false;
if (can_do_async_pf(&async)) {
}
if (async && !setup())
async = false;
if (async)
...
| Aug 23, 9:17 am 2010 |
| Avi Kivity | Re: [PATCH v5 07/12] Maintain memslot version number
How does this interact with rcu? Nothing enforces consistency between
rcu_dereference(kvm->memslots) and kvm->memslot_version.
Should probably be rcu_dereference(kvm->memslots)->version.
--
error compiling committee.c: too many arguments to function
--
| Aug 23, 8:53 am 2010 |
| Avi Kivity | Re: [PATCH v5 04/12] Provide special async page fault ha ...
Do you need to match cpu here as well? Or is token globally unique?
Perhaps we should make it locally unique to remove a requirement from
What's the meaning of cpu? Won't the waiter migrate to other cpus? Can
In theory we could make it interruptible if it's in user context. The
signal could arrive before the page and we could handle it. Not worth
the complexity I think (having a wakeup with no task to wake).
The user might be confused why they have uninterruptible tasks and no ...
| Aug 23, 8:48 am 2010 |
| Rik van Riel | Re: [PATCH v5 04/12] Provide special async page fault ha ...
If a task goes to sleep on one VCPU, but that VCPU ends
up not being runnable later on, it would be nice to wake
the task up on on a different VCPU.
I do not remember why it is safe to send this wakeup
Having a limit of just one APF pending kind of defeats
the point.
At that point, a second one of these faults would put
the VCPU to sleep, which prevents the first task from
running once its pagefault (which started earlier)
completes...
--
All rights reversed
--
| Aug 23, 8:52 am 2010 |
| Avi Kivity | Re: [PATCH v5 04/12] Provide special async page fault ha ...
Wakeup could definitely be an interrupt, but the apf needs to be an
Yes. How about, one APF pending before it is seen by the guest - but
--
error compiling committee.c: too many arguments to function
--
| Aug 23, 9:22 am 2010 |
| Gleb Natapov | Re: [PATCH v5 02/12] Add PV MSR to enable asynchronous p ...
apf_put_user() tracks memory slot changes and revalidate the address if
--
Gleb.
--
| Aug 23, 8:29 am 2010 |
| Avi Kivity | Re: [PATCH v5 02/12] Add PV MSR to enable asynchronous p ...
This can be invalidated by host userspace playing with memory regions.
It needs to be recalculated on memory map changes, and it may disappear
from under the guest's feet (in which case we're allowed to
KVM_REQ_TRIPLE_FAULT it).
(note: this is a much better approach than kvmclock's and vapic's, we
--
error compiling committee.c: too many arguments to function
--
| Aug 23, 8:22 am 2010 |
| Avi Kivity | Re: [PATCH v5 03/12] Add async PF initialization to PV guest.
It's an ABI, so we can't use something that might change when Intel
releases a cpu with 75.2 byte cache lines.
--
error compiling committee.c: too many arguments to function
--
| Aug 23, 9:19 am 2010 |
| Gleb Natapov | Re: [PATCH v5 03/12] Add async PF initialization to PV guest.
I do __aligned(64) when I declare variable of that type:
--
Gleb.
--
| Aug 23, 8:35 am 2010 |
| Christoph Lameter | Re: [PATCH v5 03/12] Add async PF initialization to PV guest.
64 byte boundary: You mean cacheline aligned? We have a special define for
that.
DEFINE_PER_CPU_SHARED_ALIGNED
--
| Aug 23, 9:08 am 2010 |
| Gleb Natapov | Re: [PATCH v5 03/12] Add async PF initialization to PV guest.
IIRC I tried to use it and it does different alignment on 64/32 bit. The
alignment here is part of guest/host interface so it should be the same
on both.
--
Gleb.
--
| Aug 23, 9:10 am 2010 |
| Avi Kivity | Re: [PATCH v5 03/12] Add async PF initialization to PV guest.
The guest will have to align this on a 64 byte boundary, should this be
--
error compiling committee.c: too many arguments to function
--
| Aug 23, 8:26 am 2010 |
| Tom Zanussi | Re: [PATCH] perf tools: Fix linking errors with --as-nee ...
Looking into it a bit further, both ExtUtils::Embed -e ldopts and
python-config --ldflags put the libs at the end, so we should be able to
parse the output of those and take only the parts we need for each
component. How about something like this instead?
Tom
---
[PATCH] Refresh of Ozan Çağlayan's patch: perf tools: Fix linking errors
with --as-needed flag:
External shared libraries should never be appended to the LDFLAGS as
this messes the linking order. As EXTLIBS collects those ...
| Aug 22, 7:44 pm 2010 |
| Arnaldo Carvalho de Melo | Re: [PATCH] perf tools: Fix linking errors with --as-nee ...
Ozan, Kirill, can you please test Tom's patch and see if it fixes the
problems you noticed so that I can add Tested-by tags and apply this
patch?
Thanks,
- Arnaldo
--
| Aug 23, 7:38 am 2010 |
| Kirill A. Shutemov | Re: [PATCH] perf tools: Fix linking errors with --as-nee ...
Tested-by: Kirill A. Shutemov <kirill@shutemov.name>
But, probably better to do it with make:
diff --git a/tools/perf/Makefile b/tools/perf/Makefile
index 4f1fa77..03a53a9 100644
--- a/tools/perf/Makefile
+++ b/tools/perf/Makefile
@@ -313,6 +313,9 @@ TEST_PROGRAMS =
SCRIPT_SH += perf-archive.sh
+grep-libs = $(filter -l%,$(1))
+strip-libs = $(filter-out -l%,$(1))
+
#
# No Perl scripts right now:
#
@@ -588,14 +591,17 @@ endif
ifdef NO_LIBPERL
BASIC_CFLAGS += ...
| Aug 23, 9:53 am 2010 |
| Arnaldo Carvalho de Melo | Re: [PATCH] perf tools: Fix linking errors with --as-nee ...
np, take your time.
- Arnaldo
--
| Aug 23, 4:23 pm 2010 |
| Ozan ÃaÄlayan | Re: [PATCH] perf tools: Fix linking errors with --as-nee ...
Hi,
I won't be able to test anything for at least 1 week, sorry.
Regards,
--
| Aug 23, 2:22 pm 2010 |
| Tejun Heo | Re: [PATCH] SATA / AHCI: Do not play with the link PM du ...
Hello, sorry about the delay.
Hmm... okay. Yeah, if you haven't been using IPM at all, there won't
be any debug messages but at the same time the posted patch should
have had the same effect as Rafael's patch as IPM path isn't traveled
at all. Can you please check the followings?
* You're actually running the correct patched kernel and modules. It
probably is a good idea to add a printk message. ie. Apply the
patch and add a printk() in ata_host_request_pm() in libata-core.c
and ...
| Aug 23, 5:03 am 2010 |
| Rafael J. Wysocki | Aug 23, 11:58 am 2010 | |
| Linus Walleij | Re: [PATCH] mmc: MMC 4.4 DDR support
That sounds very close to getting it participate in linux-next.
Which in turn would make it convenient for you to issue pull
requests to Linus (Torvalds) directly.
Which would make you the MMC subsystem maintainer...
So why not :-)
Yours,
Linus Walleij
--
| Aug 23, 12:21 am 2010 |
| Matt Fleming | Re: [PATCH] mmc: MMC 4.4 DDR support
It's possible Andrew has a reason that hasn't been picked up yet.
Maybe what we really need is to get patchwork setup for the linux-mmc
list? Other subsystem maintainers swear by it. That way, it'd be much
harder for patches to go unnoticed.
--
| Aug 23, 1:48 pm 2010 |
| Andrew Morton | Re: [PATCH] mmc: MMC 4.4 DDR support
On Mon, 23 Aug 2010 21:48:29 +0100
Kyungmin Park's questions didn't seem adequately answered and the
discussion kind of died.
I updated the patch and merged it, but I'd like the outstanding
question(s) resolved. ie: why do we add MMC_DDR_MODE, set it in
brq.data.flags and then never use it?
--
| Aug 23, 2:28 pm 2010 |
| Jean-Christophe PLAG ... | Re: [PATCH] AT91: Correct configuration define value
Acked-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Best Regards,
J.
--
| Aug 22, 7:56 pm 2010 |
| Jiri Kosina | Re: [PATCH v4 0/2] Get and Set Feature Reports on HIDRAW ...
Marcel, as per our previous discussion -- what is your word on this? I'd
be glad taking it once you Ack the bluetooth bits (which, as far as I
understood from your last mail, don't have strong objections against any
more).
Thanks,
--
Jiri Kosina
SUSE Labs, Novell Inc.
--
| Aug 23, 6:00 am 2010 |
| Stephen Hemminger | Re: [RFC] floppy: use single threaded workqueue
On Sun, 22 Aug 2010 17:07:49 +0800
I did some testing, saw a glitch but wasn't sure if it was a 2.6.35
or floppy specific. But haven't investigated furthur because of impending
Vyatta product release. Plan to revisit this week.
--
| Aug 23, 3:22 pm 2010 |
| Darrick J. Wong | Performance testing of various barrier reduction patches ...
Hi all,
I retested the ext4 barrier mitigation patchset against a base of 2.6.36-rc1 +
Tejun's flush_fua tree + Christoph's patches to change FS barrier semantics,
and came up with this new spreadsheet:
http://bit.ly/bWpbsT
Here are the previous 2.6.35 results for convenience: http://bit.ly/c22grd
The machine configurations are the same as with the previous (2.6.35)
spreadsheet. It appears to be the case that Tejun and Christoph's patches to
change barrier use into simpler cache flushes ...
| Aug 23, 11:31 am 2010 |
| Nicolas Ferre | [PATCH] pio: add arch specific gpio_is_valid() function
Add a simple gpio_is_valid() function to replace
the standard one. It introduces the __HAVE_ARCH_GPIO_IS_VALID
macro to overload the generic code.
As an implementation example, it takes into account the AT91
pio numbering to check if a proper value is used.
Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
---
Hi all,
I come back on this thread as I would like to implement the gpio_is_valid()
function for AT91. I have based this piece of code on comments from Ben and
Haavard and chose ...
| Aug 23, 8:01 am 2010 |
| previous day | today | next day |
|---|---|---|
| August 22, 2010 | August 23, 2010 | August 24, 2010 |
