| From | Subject | Date |
|---|---|---|
| Pavel Machek | Re: Laptop shock detection and harddisk protection
hdparm can already tell if disk is spinning or not. As userland is
I'd say that s2disk is similar to early boot... no protection there.
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
--
| Aug 17, 3:51 pm 2008 |
| Pavel Machek | Re: Laptop shock detection and harddisk protection
I like joystick/input interface slightly better. In some cases,
machines with accelerometers (openmoko) use them for input primarily.
HP interface will be more specialized (but less useful); still userland daemon can handle the differences...
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
--
| Aug 17, 3:48 pm 2008 |
| Pavel Machek | Re: Laptop shock detection and harddisk protection
I'm willing to maintain this.
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
--
| Aug 17, 3:30 pm 2008 |
| Pavel Machek | Re: Laptop shock detection and harddisk protection
That's okay. Signed-off-by: by original author is not required for
mainline merge. All that is required is submitter legally getting it
under GPL, and signing that off.
Now.. what are you worried about?
a) Copyrights?
b) Patents?
c) Trademarks?
d) Trade secrets?
e) Contracts between Shem and ...?
f) Some other contracts?
g) any other applicable laws? which?
h) anything else?
i) anything you can't talk about because NDAs or similar?
Based on the answer, we can try to fi...
| Aug 17, 3:45 pm 2008 |
| Randy Dunlap | [PATCH] kernel.h: fix kernel-doc for might_sleep
From: Randy Dunlap <randy.dunlap@oracle.com>
Put the kernel-doc for might_sleep() _immediately_ before the macro
(no intervening lines). Otherwise kernel-doc complains like so:
Warning(linux-2.6.27-rc3-git2//include/linux/kernel.h:129): No description found for parameter 'file'
Warning(linux-2.6.27-rc3-git2//include/linux/kernel.h:129): No description found for parameter 'line'
because kernel-doc is looking at the wrong function prototype
(i.e., __might_sleep). [Yes, I have a todo note t...
| Aug 17, 6:50 pm 2008 |
| Randy Dunlap | [PATCH] kernel-doc: allow space in macro #define
From: Randy Dunlap <randy.dunlap@oracle.com>
Allow macros that are annotated with kernel-doc to contain whitespace
between the '#' and "define". It's valid and being used, so allow it.
Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
---
scripts/kernel-doc | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
--- linux-2.6.27-rc3-git4.orig/scripts/kernel-doc
+++ linux-2.6.27-rc3-git4/scripts/kernel-doc
@@ -1644,7 +1644,7 @@ sub dump_function($$) {
$prototype ...
| Aug 17, 6:50 pm 2008 |
| Junio C Hamano | [ANNOUNCE] GIT 1.6.0
The latest feature release GIT 1.6.0 is available at the usual
places:
http://www.kernel.org/pub/software/scm/git/
git-1.6.0.tar.{gz,bz2} (source tarball)
git-htmldocs-1.6.0.tar.{gz,bz2} (preformatted docs)
git-manpages-1.6.0.tar.{gz,bz2} (preformatted docs)
The RPM binary packages for a few architectures are also provided
as courtesy.
RPMS/$arch/*-1.6.0-1.fc9.$arch.rpm (RPM)
GIT v1.6.0 Release Notes
========================
User visible changes
--------------------
...
| Aug 17, 5:16 pm 2008 |
| Adrian Bunk | [2.6 patch] make hp_wmi_notify() static
This patch makes the needlessly global hp_wmi_notify() static.
Signed-off-by: Adrian Bunk <bunk@kernel.org>
---
627792794e9990e58aee1f523ce9d4c9cb81c402
diff --git a/drivers/misc/hp-wmi.c b/drivers/misc/hp-wmi.c
index 1dbcbcb..37ecb3b 100644
--- a/drivers/misc/hp-wmi.c
+++ b/drivers/misc/hp-wmi.c
@@ -306,7 +306,7 @@ static int hp_wmi_setkeycode(struct input_dev *dev, int scancode, int keycode)
return -EINVAL;
}
-void hp_wmi_notify(u32 value, void *context)
+static void hp_wmi_no...
| Aug 17, 4:21 pm 2008 |
| Denys Fedoryshchenko | build failure for 2.6.27-rc3-git4
rich linux-2.6.26 # make
CHK include/linux/version.h
CHK include/linux/utsrelease.h
CALL scripts/checksyscalls.sh
CC init/main.o
In file included from init/main.c:32:
include/linux/security.h: In function 'security_ptrace_traceme':
include/linux/security.h:1760: error: 'parent' undeclared (first use in this
function)
include/linux/security.h:1760: error: (Each undeclared identifier is reported
only once
include/linux/security.h:1760: error: for each function it appears i...
| Aug 17, 4:12 pm 2008 |
| Bartlomiej Zolnierki... | [PATCH 1/9] ide: fix HDIO_DRIVE_TASK[FILE] ioctls for CHS co...
Add IDE_DFLAG_LBA device flag and use it instead of ->select.b.lba.
Since ->tf_load uses ->select.all for ATA Device/Head register this
fixes HDIO_DRIVE_TASK[FILE] ioctls for CHS commands on LBA devices.
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
---
moar patches (on top of pata tree + previous 9)
drivers/ide/ide-disk.c | 33 ++++++++++++++++++++-------------
drivers/ide/ide-io.c | 4 ++--
include/linux/ide.h | 1 +
3 files changed, 23 insertion...
| Aug 17, 3:53 pm 2008 |
| Bartlomiej Zolnierki... | [PATCH 9/9] ide: merge all TASKFILE_NO_DATA data phase handl...
* Add 'struct task_s' to ide_hwif_t and init it to the current command
in do_rw_taskfile().
* Merge all TASKFILE_NO_DATA data phase handlers into taskfile_no_intr().
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
---
drivers/ide/ide-taskfile.c | 105 +++++-----------------
include/linux/ide.h | 211 ++++++++++++++++++++++-----------------------
2 files changed, 131 insertions(+), 185 deletions(-)
Index: b/drivers/ide/ide-taskfile.c
============================...
| Aug 17, 3:54 pm 2008 |
| Bartlomiej Zolnierki... | [PATCH 8/9] ide: factor out reset error reporting from reset...
Factor out reset error reporting from reset_pollfunc()
to ide_reset_report_error() helper.
While at it:
- fix KERN_* printk() levels
- remove 'switch ()'
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
---
drivers/ide/ide-iops.c | 40 +++++++++++++++++++++-------------------
1 file changed, 21 insertions(+), 19 deletions(-)
Index: b/drivers/ide/ide-iops.c
===================================================================
--- a/drivers/ide/ide-iops.c
+++ b/drivers/id...
| Aug 17, 3:54 pm 2008 |
| Bartlomiej Zolnierki... | [PATCH 7/9] ide: convert 'pio_mode' device setting to use DS...
* Convert 'pio_mode' device setting to use DS_SYNC flag.
* Remove unused special_t.b.{set_tune,serviced} and ide_drive_t.tune_req.
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
---
drivers/ide/ide-io.c | 68 +++------------------------------------------------
drivers/ide/ide.c | 58 +++++++++++++++++++++++++++++++++----------
include/linux/ide.h | 7 -----
3 files changed, 51 insertions(+), 82 deletions(-)
Index: b/drivers/ide/ide-io.c
=======================...
| Aug 17, 3:54 pm 2008 |
| Bartlomiej Zolnierki... | [PATCH 6/9] ide: remove [ata_]select_t
* Use 'drive->dn & 1' in ide_init_disk().
* remove [ata_]select_t.
While at it:
* Use ATA_DEVICE_OBS define in ide_port_init_devices_data().
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
---
drivers/ide/h8300/ide-h8300.c | 2 +-
drivers/ide/ide-io.c | 2 +-
drivers/ide/ide-iops.c | 2 +-
drivers/ide/ide-probe.c | 4 ++--
drivers/ide/ide.c | 2 +-
drivers/ide/legacy/ide-4drives.c | 2 +-
drive...
| Aug 17, 3:54 pm 2008 |
| Bartlomiej Zolnierki... | [PATCH 5/9] ide: use 'drive->dn & 1' instead of drive...
* Call ide_port_init_devices() in ide_host_register()
also if 'struct ide_port_info *d' is not available.
* Init drive->dn in ide_port_init_devices() instead of
ide_probe_port() so it is valid also in ->init_dev.
* Pass device number to ide_dev_apply_params().
* Use 'drive->dn & 1' instead of drive->select.b.unit.
There should be no functional changes caused by this patch.
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
---
drivers/ide/ide-dma.c ...
| Aug 17, 3:54 pm 2008 |
| Bartlomiej Zolnierki... | [PATCH 4/9] cy82c693: remove no longer needed CY82C693_DEBUG...
Having CY82C693_DEBUG_INFO is enough nowadays.
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
---
drivers/ide/pci/cy82c693.c | 51 ---------------------------------------------
1 file changed, 51 deletions(-)
Index: b/drivers/ide/pci/cy82c693.c
===================================================================
--- a/drivers/ide/pci/cy82c693.c
+++ b/drivers/ide/pci/cy82c693.c
@@ -53,7 +53,6 @@
/*
* The following are used to debug the driver.
*/
-#define CY82C693...
| Aug 17, 3:53 pm 2008 |
| Bartlomiej Zolnierki... | [PATCH 3/9] cy82c693: remove dead CY82C693_SETDMA_CLOCK code
Remove dead CY82C693_SETDMA_CLOCK code and now not needed
init_chipset_cy82c693().
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
---
drivers/ide/pci/cy82c693.c | 60 ---------------------------------------------
1 file changed, 60 deletions(-)
Index: b/drivers/ide/pci/cy82c693.c
===================================================================
--- a/drivers/ide/pci/cy82c693.c
+++ b/drivers/ide/pci/cy82c693.c
@@ -50,18 +50,12 @@
#define DRV_NAME "cy82c693"
-/...
| Aug 17, 3:53 pm 2008 |
| Bartlomiej Zolnierki... | [PATCH 2/9] ide: sanitize ide*_pm_* enums
* Move ide*_pm_* enums from ide-io.c to <linux/ide.h>.
* idedisk_pm_* -> ide_pm_*
* ide_pm_state_* -> ide_pm_*
* No need to set ide_pm_* enums to the fixed values.
* Uppercase ide_pm_* enums.
* Fix/update comments.
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
---
drivers/ide/ide-io.c | 62 ++++++++++++++++++---------------------------------
drivers/ide/ide.c | 4 +--
include/linux/ide.h | 34 +++++++++++++--------------
3 files changed, 4...
| Aug 17, 3:53 pm 2008 |
| Pierre Ossman | [GIT PULL] MMC fixes for 2.6.27-rc4
Linus, please pull from
git://git.kernel.org/pub/scm/linux/kernel/git/drzeus/mmc.git for-li=
nus
to receive the following updates:
drivers/mmc/host/s3cmci.c | 17 ++++++++++-------
drivers/mmc/host/sdricoh_cs.c | 1 -
2 files changed, 10 insertions(+), 8 deletions(-)
Ben Dooks (2):
s3cmci: fix sparse errors from non-exported functions
s3cmci: attach get_cd host ops
Huang Weiyi (1):
sdricoh_cs: removed unused #include <version.h>
diff --git a/...
| Aug 17, 3:51 pm 2008 |
| Paul E. McKenney | [PATCH tip/cor/rcu] remove redundant ACCESS_ONCE definition ...
Remove the redundant definition of ACCESS_ONCE() from rcupreempt.c in
favor of the one in compiler.h. Also merge the comment header from
rcupreempt.c's definition into that in compiler.h.
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
---
include/linux/compiler.h | 4 +++-
kernel/rcupreempt.c | 8 --------
2 files changed, 3 insertions(+), 9 deletions(-)
diff --git a/include/linux/compiler.h b/include/linux/compiler.h
index c8bd2da..8322141 100644
--- a/inclu...
| Aug 17, 3:50 pm 2008 |
| Cyrill Gorcunov | [PATCH 0/9] -tip/apic merging one more series
Simple changes mostly. The only patch which should be considered
with more attention is
[PATCH 9/9] x86: apic - generic_processor_info
where I suspect the bug was - we had set phys_cpu_present_map
but it could happen we warn about processor number limit after
and exit havin this bit set.
Please review - any comments are welcome!
(new week are almost started so my patch flow will decrease
'cause of other duties)
- Cyrill -
--
| Aug 17, 3:41 pm 2008 |
| Yinghai Lu | Re: [PATCH 0/9] -tip/apic merging one more series
please check if you need { } otherwise you broke 64 bit
static int lapic_resume(struct sys_device *dev)
{
unsigned int l, h;
unsigned long flags;
int maxlvt;
if (!apic_pm_state.active)
return 0;
maxlvt = lapic_get_maxlvt();
local_irq_save(flags);
#ifdef CONFIG_X86_64
if (x2apic)
enable_x2apic();
else
#endif
/*
* Make sure the APICBASE points to the righ...
| Aug 17, 5:53 pm 2008 |
| Cyrill Gorcunov | [PATCH 6/9] x86: apic - unify lapic_setup_esr
We use 32bit code former for 64bit
mode since it's much better implementation
and easier to merge.
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
---
arch/x86/kernel/apic_32.c | 21 +++++++++--------
arch/x86/kernel/apic_64.c | 51 ++++++++++++++++++++++++++++++++++----------
2 files changed, 50 insertions(+), 22 deletions(-)
diff --git a/arch/x86/kernel/apic_32.c b/arch/x86/kernel/apic_32.c
index 6d230e9..3c1562a 100644
--- a/arch/x86/kernel/apic_32.c
+++ b/arch/x86/kernel/...
| Aug 17, 3:41 pm 2008 |
| Cyrill Gorcunov | [PATCH 9/9] x86: apic - generic_processor_info
- use physid_set instead of phys_cpu and physids_or
- set phys_cpu_present_map bit AFTER check for allowed
number of processors
- add checking for APIC valid version in 64bit mode
(mostly not needed but added for merging purpose)
- add apic_version definition for 64bit mode which
is used now
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
---
arch/x86/kernel/apic_32.c | 15 ++++++++-------
arch/x86/kernel/apic_64.c | 41 +++++++++++++++++++++++++++++++++++++++--
2 files cha...
| Aug 17, 3:41 pm 2008 |
| Cyrill Gorcunov | [PATCH 5/9] x86: apic - unify connect_bsp_APIC
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
---
arch/x86/kernel/apic_32.c | 2 ++
arch/x86/kernel/apic_64.c | 20 ++++++++++++++++++--
2 files changed, 20 insertions(+), 2 deletions(-)
diff --git a/arch/x86/kernel/apic_32.c b/arch/x86/kernel/apic_32.c
index d4efe86..6d230e9 100644
--- a/arch/x86/kernel/apic_32.c
+++ b/arch/x86/kernel/apic_32.c
@@ -1387,6 +1387,7 @@ void smp_error_interrupt(struct pt_regs *regs)
*/
void __init connect_bsp_APIC(void)
{
+#ifdef CONFIG_X86...
| Aug 17, 3:41 pm 2008 |
| Cyrill Gorcunov | [PATCH 3/9] x86: apic - unify disable_local_APIC
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
---
arch/x86/kernel/apic_32.c | 4 +++-
arch/x86/kernel/apic_64.c | 14 ++++++++++++++
2 files changed, 17 insertions(+), 1 deletions(-)
diff --git a/arch/x86/kernel/apic_32.c b/arch/x86/kernel/apic_32.c
index 80db3e0..13c4b79 100644
--- a/arch/x86/kernel/apic_32.c
+++ b/arch/x86/kernel/apic_32.c
@@ -796,7 +796,7 @@ void clear_local_APIC(void)
*/
void disable_local_APIC(void)
{
- unsigned long value;
+ unsigned int value;
...
| Aug 17, 3:41 pm 2008 |
| Cyrill Gorcunov | [PATCH 8/9] x86: apic - unify disconnect_bsp_APIC
- just #ifdef added
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
---
arch/x86/kernel/apic_32.c | 66 +++++++++++++++++++++++---------------------
arch/x86/kernel/apic_64.c | 23 ++++++++++++++-
2 files changed, 55 insertions(+), 34 deletions(-)
diff --git a/arch/x86/kernel/apic_32.c b/arch/x86/kernel/apic_32.c
index 65419c7..3095bb7 100644
--- a/arch/x86/kernel/apic_32.c
+++ b/arch/x86/kernel/apic_32.c
@@ -1420,6 +1420,7 @@ void __init connect_bsp_APIC(void)
*/
void disc...
| Aug 17, 3:41 pm 2008 |
| Cyrill Gorcunov | [PATCH 7/9] x86: apic - unify __setup_APIC_LVTT
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
---
arch/x86/kernel/apic_32.c | 10 +++++++---
arch/x86/kernel/apic_64.c | 12 ++++++++----
2 files changed, 15 insertions(+), 7 deletions(-)
diff --git a/arch/x86/kernel/apic_32.c b/arch/x86/kernel/apic_32.c
index 3c1562a..65419c7 100644
--- a/arch/x86/kernel/apic_32.c
+++ b/arch/x86/kernel/apic_32.c
@@ -248,8 +248,12 @@ int lapic_get_maxlvt(void)
* Local APIC timer
*/
-/* Clock divisor is set to 16 */
+/* Clock divisor */...
| Aug 17, 3:41 pm 2008 |
| Cyrill Gorcunov | [PATCH 2/9] x86: apic - unify setup_boot_APIC_clock
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
---
arch/x86/kernel/apic_32.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/arch/x86/kernel/apic_32.c b/arch/x86/kernel/apic_32.c
index 8d1febf..80db3e0 100644
--- a/arch/x86/kernel/apic_32.c
+++ b/arch/x86/kernel/apic_32.c
@@ -612,6 +612,7 @@ void __init setup_boot_APIC_clock(void)
* broadcast mechanism is used. On UP systems simply ignore it.
*/
if (disable_apic_timer) {
+ printk(KERN_INFO "Disablin...
| Aug 17, 3:41 pm 2008 |
| Cyrill Gorcunov | [PATCH 4/9] x86: apic - unify disable_local_APIC
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
---
arch/x86/kernel/apic_32.c | 9 ++++++---
arch/x86/kernel/apic_64.c | 14 +++++++++++++-
2 files changed, 19 insertions(+), 4 deletions(-)
diff --git a/arch/x86/kernel/apic_32.c b/arch/x86/kernel/apic_32.c
index 13c4b79..d4efe86 100644
--- a/arch/x86/kernel/apic_32.c
+++ b/arch/x86/kernel/apic_32.c
@@ -838,10 +838,13 @@ void lapic_shutdown(void)
local_irq_save(flags);
- if (enabled_via_apicbase)
- disable_local_APIC();...
| Aug 17, 3:41 pm 2008 |
| Cyrill Gorcunov | [PATCH 1/9] x86: apic - rearrange maxcpu definition
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
---
arch/x86/kernel/apic_32.c | 4 ++--
arch/x86/kernel/apic_64.c | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/arch/x86/kernel/apic_32.c b/arch/x86/kernel/apic_32.c
index 41134d4..8d1febf 100644
--- a/arch/x86/kernel/apic_32.c
+++ b/arch/x86/kernel/apic_32.c
@@ -114,6 +114,8 @@ static DEFINE_PER_CPU(struct clock_event_device, lapic_events);
static int enabled_via_apicbase;
static unsigned long apic_ph...
| Aug 17, 3:41 pm 2008 |
| Pete Clements | 27-rc3-git4 fails compile -- security.h
Fyi:
2.6.27-rc3-git4 fails compile:
CC arch/x86/kernel/asm-offsets.s
GEN include/asm/asm-offsets.h
CALL scripts/checksyscalls.sh
CC scripts/mod/empty.o
HOSTCC scripts/mod/mk_elfconfig
MKELF scripts/mod/elfconfig.h
HOSTCC scripts/mod/file2alias.o
HOSTCC scripts/mod/modpost.o
HOSTCC scripts/mod/sumversion.o
HOSTLD scripts/mod/modpost
HOSTCC scripts/kallsyms
HOSTCC scripts/conmakehash
CC init/main.o
In file included from init/main.c:32:
...
| Aug 17, 3:34 pm 2008 |
| Dmitry Baryshkov | [PATCH] max7301: fix the race between chip addition and pins...
There is a small race and code ugliness in max7301: pins are
reconfigured after the chip is registered. Swap these calls
so that the device is registered in correct state.
Also this fixes the comile-time warning about unchecked gpiochip_remove.
Signed-off-by: Dmitry Baryshkov <dbaryshkov@gmail.com>
Cc: Juergen Beisert <j.beisert@pengutronix.de>
Cc: Guennadi Liakhovetski <g.liakhovetski@pengutronix.de>
Cc: Russell King <rmk@arm.linux.org.uk>
---
drivers/gpio/max7301.c | ...
| Aug 17, 3:24 pm 2008 |
| John W. Linville | pull request: wireless-2.6 2008-08-17
Dave,
Here is the latest round of wireless fixes for 2.6.27. The silliest one
is the one from Adrian Bunk, which applies the gcc-related fix to ath9k
again because there were two identical pieces of code to fix -- I guess
I didn't get the joke *facepalm*...
I don't think there is anything else remarkable, although I think we fix
a couple of the current regressions on LKML.
Thanks,
John
---
Individual patches are available here:
[ message continues ] " title="http://www.kernel.org/pub/linux/kernel/people/linvill...">http://www.kernel.org/pub/linux/kernel/people/linvill... | Aug 17, 2:56 pm 2008 |
| David Miller | Re: pull request: wireless-2.6 2008-08-17
From: "John W. Linville" <linville@tuxdriver.com>
Two commits in here need a fixup.
Their commit messages reference SHA IDs but do not give a commit
header line text reference as well.
p54: Fix regression due to commit b19fa1f
ath5k: Don't fiddle with MSI on suspend/resume.
Please fix this up and give me another pull request, thanks!
--
| Aug 17, 6:12 pm 2008 |
| Marc Villemade | [Follow-up] Physical memory disappeared from /proc/meminfo
Hi everyone,
(I apologize in advance for this long email)
While looking for answers to my memory problems i've been having for
some time now, i've stumbled onto these posts:
Dated last year :
http://kerneltrap.org/mailarchive/linux-kernel/2007/8/26/164909
and dated from a couple months ago:
http://kerneltrap.org/mailarchive/linux-kernel/2008/6/24/2209554
I'm having exactly the same issue but on a 2.6.20.4 vanilla kernel
(x86). /proc/meminfo shows that
MemFree+Buffers+cached+AnonPages+Sla...
| Aug 17, 1:59 pm 2008 |
| Rik van Riel | Re: [Follow-up] Physical memory disappeared from /proc/meminfo
On Sun, 17 Aug 2008 19:59:10 +0200
There are also page tables, vmalloc memory and various
unaccounted kernel allocations.
--
All rights reversed.
--
| Aug 17, 2:59 pm 2008 |
| Marc Villemade | Re: [Follow-up] Physical memory disappeared from /proc/meminfo
hey
Thanks for your answer, but it still doesn't come close. I'm up to 1.5
Gig adding what i said. and PageTables + VMallocTotal equals 160 Mo.
Sounds unlikely to me that something unaccounted for might go up to
1.4 Gig, don't you think ? Or maybe it is accounted somewhere else
than /proc/meminfo ? Please point me to the right place if so.
Cheers
Marc Villemade
--
| Aug 17, 3:26 pm 2008 |
| Arjan van de Ven | Re: [Follow-up] Physical memory disappeared from /proc/meminfo
On Sun, 17 Aug 2008 21:26:07 +0200
you're not accidentally using shmfs or tmpfs are you ?
(or otherwise have a leak in sysv shm)
you can use the "ipcs" command to see your shm allocation
(and for tmpfs/shmfs... check if you have it mounted anywhere.
Something like /dev being on shmfs and /dev/null being a file not a
device can.. totally screw you over)
--
| Aug 17, 3:42 pm 2008 |
| Marc Villemade | Re: [Follow-up] Physical memory disappeared from /proc/meminfo
hey,
here are my mount points:
6_days_uptime_machine ~ # mount
/dev/evms/root on / type ext3 (rw,noatime)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
udev on /dev type tmpfs (rw,nosuid)
devpts on /dev/pts type devpts (rw,nosuid,noexec)
/dev/evms/boot on /boot type ext3 (rw,noatime)
/dev/evms/data on /data type ext3 (rw,noatime,data=journal)
/dev/evms/queue on /mnt/queue type ext3 (rw,noatime)
none on /dev/shm type tmpfs (rw)
/dev on /opt/bizanga/chroot/de...
| Aug 17, 4:22 pm 2008 |
| Rafael J. Wysocki | 2.6.27-rc3-git4: Multiple implicit declarations in log2.h
Hi,
I see this compiling the current mainline on x86-64:
AS arch/x86/boot/compressed/head_64.o
In file included from /home/rafael/src/linux-2.6/include/linux/kernel.h:16,
from /home/rafael/src/linux-2.6/arch/x86/boot/memory.c:16:
/home/rafael/src/linux-2.6/include/linux/log2.h: In function ‘__ilog2_u32’:
/home/rafael/src/linux-2.6/include/linux/log2.h:34: warning: implicit declaration of function ‘fls’
/home/rafael/src/linux-2.6/include/linux/log2.h: In function â€...
| Aug 17, 1:32 pm 2008 |
| Borislav Petkov | [PATCH 0/5] ide debugging macros
Hi Bart,
here's something i've been wanting to do for a long time: debugging macros. The
reason for it is that i got tired of adding debug printk's everytime i'm testing
something so here we go.
The debugging macro is similar to the old ones but is one for all drivers
(currently only ide-floppy), is nice on branch prediction and is controlled by a
drive->debug_mask switch which is a module parameter and as such can be set at
module load time, of course. I've been thinking of adding also a sysf...
| Aug 17, 1:23 pm 2008 |
| Borislav Petkov | [PATCH 5/5] ide-floppy: add a debug_mask module parameter
... with which to control to verbosity of debug messages on module load time.
Signed-off-by: Borislav Petkov <petkovbb@gmail.com>
---
drivers/ide/ide-floppy.c | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/drivers/ide/ide-floppy.c b/drivers/ide/ide-floppy.c
index 3de9478..85022b8 100644
--- a/drivers/ide/ide-floppy.c
+++ b/drivers/ide/ide-floppy.c
@@ -49,6 +49,9 @@
#include "ide-floppy.h"
+/* module parameters */
+static unsigned long debug_mask =...
| Aug 17, 1:23 pm 2008 |
| Borislav Petkov | [PATCH 4/5] ide-floppy: convert driver to the new debugging ...
Also:
- leave in the possibility for optimizing away all debugging macros
- add a PFX macro and prepend all printk calls with it for consistency
- change idefloppy_create_rw_cmd's 1st arg from idefloppy_floppy_t * to
ide_drive_t *.
- add a missing printk-level in idefloppy_init
- fix minor checkpatch warnings
Signed-off-by: Borislav Petkov <petkovbb@gmail.com>
---
drivers/ide/ide-floppy.c | 140 ++++++++++++++++++++++++---------------------
1 files changed, 75 insertions(+), 65 deletio...
| Aug 17, 1:23 pm 2008 |
| Borislav Petkov | [PATCH 1/5] ide: unify conversion macros
Introduce to_ide_dev() and ide_drv_g() macros and replace the respective
definitions of similar ones in each driver.
There should be no functionality change resulting from this patch.
Signed-off-by: Borislav Petkov <petkovbb@gmail.com>
---
drivers/ide/ide-cd.c | 17 ++++++-----------
drivers/ide/ide-floppy.c | 21 +++++++++------------
drivers/ide/ide-tape.c | 23 ++++++++---------------
include/linux/ide.h | 8 +++++++-
4 files changed, 30 insertions(+), 39 deletions...
| Aug 17, 1:23 pm 2008 |
| Borislav Petkov | [PATCH 3/5] ide: add a driver-wide debugging macro
Add __ide_debug_log() debugging macro which is controlled by drive->debug_mask.
The macro has to have the macro DRV_NAME defined in each driver before use.
Also, add different debugging levels depending on the functionality debugged.
Signed-off-by: Borislav Petkov <petkovbb@gmail.com>
---
include/linux/ide.h | 20 ++++++++++++++++++++
1 files changed, 20 insertions(+), 0 deletions(-)
diff --git a/include/linux/ide.h b/include/linux/ide.h
index c161840..b6d714d 100644
--- a/include/l...
| Aug 17, 1:23 pm 2008 |
| Joe Perches | Re: [PATCH 3/5] ide: add a driver-wide debugging macro
Shouldn't a debug printk use KERN_DEBUG?
--
| Aug 17, 2:13 pm 2008 |
| Borislav Petkov | Re: [PATCH 3/5] ide: add a driver-wide debugging macro
Yes, it should. However, i'm going to have to change the default console
loglevel to see those, aka boot with loglevel=7 and there's the possibility of
other debug messages getting in the way too. Instead, the debugging messages
here are enabled only when you do a debug build of the driver _and_ when enable
them through the debug_mask so you get to see debug messages only you're
interested in without changing anything else in the kernel boot.
--
Regards/Gruss,
Boris.
--
| Aug 17, 2:24 pm 2008 |
| Borislav Petkov | [PATCH 2/5] ide: add drive->debug_mask switch
Add a debugging on/off switch for controlling driver debugging
messages dynamically.
Signed-off-by: Borislav Petkov <petkovbb@gmail.com>
---
include/linux/ide.h | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/include/linux/ide.h b/include/linux/ide.h
index 6b5d425..c161840 100644
--- a/include/linux/ide.h
+++ b/include/linux/ide.h
@@ -543,6 +543,9 @@ struct ide_drive_s {
int lun; /* logical unit */
int crc_count; /* crc counter to reduce drive speed...
| Aug 17, 1:23 pm 2008 |
| Bartlomiej Zolnierki... | [PATCH 1/9] ide: fix IDE ACPI for slave device-only configur...
ACPI _GTM / _PS0 / _STM were not called if only slave device was present.
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
---
drivers/ide/ide.c | 21 ++++++++++-----------
1 file changed, 10 insertions(+), 11 deletions(-)
Index: b/drivers/ide/ide.c
===================================================================
--- a/drivers/ide/ide.c
+++ b/drivers/ide/ide.c
@@ -365,15 +365,15 @@ __IDE_DEVSET(pio_mode, 0, NULL, set_pio_
static int generic_ide_suspend(struct devic...
| Aug 17, 1:14 pm 2008 |
| previous day | today | next day |
|---|---|---|
| August 16, 2008 | August 17, 2008 | August 18, 2008 |
