First  |  Prev |  Next  |  Last
Pages: 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160
FW: FW: mq_open
Hello gentleman, we have a problem with mq_open, shm_open and sem_open As stated in the manpage of "open(2)", the permissions of the created file are (mode & ~umask). But what is the use of the mode parameter, it it is not used like the programmers intention? On HP Unix or TRU64 the mode parameter is... 6 Aug 2010 07:10
[PATCH] regulator: max8660 - fix a memory leak in max8660_remove()
In max8660_probe(), we allocate memory for max660. In max8660_remove(), current implementation only free rdev which is a member of struct max8660. Thus, there is a small memory leak when we unload the module. This patch fixes the memory leak by passing max660 to i2c clientdata, and properly kfree(max8660) in max... 6 Aug 2010 01:45
[PATCH 21/43] memblock: Remove unused memblock.debug struct member
Signed-off-by: Benjamin Herrenschmidt <benh(a)kernel.crashing.org> --- include/linux/memblock.h | 7 ++++--- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git a/include/linux/memblock.h b/include/linux/memblock.h index b65045a..0fe6dd5 100644 --- a/include/linux/memblock.h +++ b/include/linux/membl... 6 Aug 2010 01:45
[PATCH 38/43] memblock: Improve debug output when resizing the reserve array
From: Yinghai Lu <yinghai(a)kernel.org> Print out the location info in addition to which array is being resized. Also use memblocK_dbg() to put that under control of the memblock_debug flag. Signed-off-by: Yinghai Lu <yinghai(a)kernel.org> Signed-off-by: Benjamin Herrenschmidt <benh(a)kernel.crashing.org> --- mm/... 6 Aug 2010 01:45
[PATCH 26/43] memblock: Define MEMBLOCK_ERROR internally instead of using ~(phys_addr_t)0
Signed-off-by: Benjamin Herrenschmidt <benh(a)kernel.crashing.org> --- mm/memblock.c | 12 +++++++----- 1 files changed, 7 insertions(+), 5 deletions(-) diff --git a/mm/memblock.c b/mm/memblock.c index c1d2060..fc7f97b 100644 --- a/mm/memblock.c +++ b/mm/memblock.c @@ -22,6 +22,8 @@ static int memblock_debug... 6 Aug 2010 01:45
[PATCH 29/43] memblock: Move functions around into a more sensible order
Some shuffling is needed for doing array resize so we may as well put some sense into the ordering of the functions in the whole memblock.c file. No code change. Added some comments. Signed-off-by: Benjamin Herrenschmidt <benh(a)kernel.crashing.org> --- mm/memblock.c | 301 ++++++++++++++++++++++++++++++---------... 6 Aug 2010 01:45
[PATCH 32/43] memblock: Add "start" argument to memblock_find_base()
To constraint the search of a region between two boundaries, which will be used by the new NUMA aware allocator among others. Signed-off-by: Benjamin Herrenschmidt <benh(a)kernel.crashing.org> --- mm/memblock.c | 27 ++++++++++++++++----------- 1 files changed, 16 insertions(+), 11 deletions(-) diff --git a/... 6 Aug 2010 01:45
[PATCH 16/43] memblock: Factor the lowest level alloc function
Signed-off-by: Benjamin Herrenschmidt <benh(a)kernel.crashing.org> --- mm/memblock.c | 59 ++++++++++++++++++++++++++------------------------------ 1 files changed, 27 insertions(+), 32 deletions(-) diff --git a/mm/memblock.c b/mm/memblock.c index 13807f2..e264e8c 100644 --- a/mm/memblock.c +++ b/mm/memblock.... 6 Aug 2010 01:45
[PATCH 01/43] memblock: Fix memblock_is_region_reserved() to return a boolean
All callers expect a boolean result which is true if the region overlaps a reserved region. However, the implementation actually returns -1 if there is no overlap, and a region index (0 based) if there is. Make it behave as callers (and common sense) expect. Signed-off-by: Benjamin Herrenschmidt <benh(a)kernel.c... 6 Aug 2010 01:45
[PATCH 15/43] memblock: Remove nid_range argument, arch provides memblock_nid_range() instead
Signed-off-by: Benjamin Herrenschmidt <benh(a)kernel.crashing.org> --- arch/sparc/mm/init_64.c | 16 ++++++---------- include/linux/memblock.h | 7 +++++-- mm/memblock.c | 13 ++++++++----- 3 files changed, 19 insertions(+), 17 deletions(-) diff --git a/arch/sparc/mm/init_64.c b/arch/sparc/mm/... 6 Aug 2010 01:45
First  |  Prev |  Next  |  Last
Pages: 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160