Block: Check major number before allocate the buffer in register_blkdev()
the original code use kmalloc() to allocate struct blk_major_name buffer first, then find the major number in major_names array. if found it, it will kfree() the unused struct blk_major_name buffer, if register_blkdev() called many times like: register_blkdev(22, "aa"); ..... register_blkdev(22, "aa"); kmalloc... 10 May 2010 08:46
thinkpad_acpi: add support for thinkpad x100e
On Sun, 09 May 2010, Andrej Gelenberg wrote: Embedded controller path is "\\_SB.PCI0.LPC0.EC" on Lenovo Thinkpad X100e. Yeah, and I have a proper fix queued already, that locates the EC by HID, so NACK. However, even that is not enough. The vid_handle needs to be fixed as well, and there are a few bugs in t... 10 May 2010 08:46
Update the cachetlb.txt file WRT flush_dcache_page and update_mmu_cache
On Mon, May 10, 2010 at 11:16:47AM +0100, Catalin Marinas wrote: In most situations, just doing flushing in set_pte_at() would suffice and flush_dcache_page() can be ignored. There are two situations where I still see flush_dcache_page() useful: 1. SMP systems where the cache maintenance operations... 10 May 2010 08:46
Block: Check major number before allocate the buffer in register_blkdev()
On Mon, May 10 2010, wzt.wzt(a) wrote: Check major number before allocate the buffer, if the major number is not exist, and the register_blkdev() called many times, kmalloc()/kfree() will be no need to invoked many times. So check the major number before use kmalloc() to allocate the buffer will be ... 10 May 2010 08:46
lmb: Move lmb arrays to static storage in lmb.c and make their size a variable
On Mon, 2010-05-10 at 19:44 +0900, Paul Mundt wrote: Perhaps it would be better to weight this against MAX_ACTIVE_REGIONS for the ARCH_POPULATES_NODE_MAP case? The early node map is already using that size, at least. Well, one of the next patches implement dynamic resize of the LMB array so I was actually... 10 May 2010 08:46
[PATCH] AT91: PM: dual ram controller support
This rework allows to address tow memory controllers. AT91SAM9263 and AT91SAM9G45 family have tow SDRAM or DDR/SDRAM controllers. Power management should take care of this. This patch modify the way RAM IP header files are implemented to allow access to registers of both controllers ; it also adds some macros. W... 10 May 2010 07:40
procfs: Introduce socinfo under /proc
On Mon, May 10, 2010 at 01:37:34PM +0300, Eduardo Valentin wrote: + */ +#include <linux/fs.h> +#include <linux/init.h> +#include <linux/proc_fs.h> +#include <linux/seq_file.h> + +extern const struct seq_operations socinfo_op; This doesn't look promising.. +static int socinfo_open(struct ino... 11 May 2010 00:17
oprofile hotplug fixes for x86
* Robert Richter <robert.richter(a)> wrote: On 06.05.10 15:26:07, Robert Richter wrote: Ingo, I will send a separate pull request. Ingo, please pull oprofile hotplug fixes for x86 from: git:// core Thanks, -Rob... 10 May 2010 07:40
[PATCH 19/25] lmb: Add array resizing support
When one of the array gets full, we resize it. After much thinking and a few iterations of that code, I went back to on-demand resizing using the (new) internal lmb_find_base() function, which is pretty much what Yinghai initially proposed, though there some differences in the details. To work this relies on the ... 10 May 2010 07:40
mach-omap1: export omap1 info under /proc/socinfo
On Mon, May 10, 2010 at 01:37:36PM +0300, Eduardo Valentin wrote: From: Eduardo Valentin <eduardo.valentin(a)> Report OMAP name and rev under /proc/socinfo node. I think this needs to be combined with the previous patch. The previous patch enables the socinfo file, which means with patch 2 applied... 10 May 2010 08:46