Displaying 12 results from an estimated 12 matches for "next_free".
2007 Apr 25
2
[LLVMdev] Work in progress patch to speed up andersen's implementation
...bjects begin here */
};
struct obstack /* control current object in current chunk */
{
long chunk_size; /* preferred size to allocate chunks in */
struct _obstack_chunk *chunk; /* address of current struct obstack_chunk */
char *object_base; /* address of object we are building */
char *next_free; /* where to add next char to current object */
char *chunk_limit; /* address of char after current chunk */
PTR_INT_TYPE temp; /* Temporary for some macros. */
int alignment_mask; /* Mask of alignment for each object. */
/* These prototypes vary based on `use_extra_arg', and we...
2012 Nov 05
2
New Memory Allocation
In Syslinux-5.00, is the goal that the core and .c32 modules alike will use
the same heap? There is a bug I am thinking about:
- QEmu with 1024 MiB RAM
- Syslinux 4.06
- .c32 can realloc() up to 1013 MiB
- QEmu with 1024 MiB RAM
- Syslinux 5.00-pre9
- .c32 can realloc() up to 45 MiB
I am wondering if there's a maximum-allocation-size being hit, or if it's
actually a bug I should look
2008 Mar 24
3
I' m a Gsoc Applier
Hello, I'm a student interested in the syslinux project of Gsoc.
And Isincerely hope to have the opportunity to apply the "Dynamic
linker/loader for modules" project.
But it seems the #syslinux channel is not so active and I can't contact
a mentor about that.
Could anybody help me?
Thank you!
2018 Feb 03
1
Mismatch between code comments and reality in malloc.h
...) - \
(sizeof(struct arena_header) + \
sizeof(struct free_arena_header *) + \
sizeof(struct free_arena_header *)))
/*
* This structure should be no more than twice the size of the
* previous structure.
*/
struct free_arena_header {
struct arena_header a;
struct free_arena_header *next_free, *prev_free;
size_t _pad[ARENA_PADDING];
};
In my environment, the size of int and pointer are both 32-bits (x86 32-bits). When compiled with DEBUG_MALLOC undefined; I get
sizeof(arena_header) == 16
sizeof(free_arena_header) == 56
Which disagrees with the comments. The comments do make a lot...
2008 Jan 29
2
[PATCH 0/2] Unwritten extent merge update, V2
...tten regions have been written to.
Modification from V1 to V2:
1. Add more comments for some functions which is more complicated than before.
2. move the journal_access() calls to a better place so that we may detect its
error before we do the real modification to some extent blocks.
3. Using l_next_free_rec instead of l_count to index the extent record array so
that it's more consistent with other codes.
4. Delete the empty extent block during ocfs2_merge_rec_left when it is needed
instead of leaving it to ocfs2_rotate_tree_left.
5. Stick to one merge mechanism in CONTIG_LEFTRIGHT. Right...
2006 Sep 29
0
[PATCH 2/6] xen: add per-node bucks to page allocator
...ned long avail[NR_ZONES];
+static struct list_head heap[NR_ZONES][MAX_NUMNODES][MAX_ORDER+1];
+
+static unsigned long avail[NR_ZONES][MAX_NUMNODES];
static DEFINE_SPINLOCK(heap_lock);
void end_boot_allocator(void)
{
- unsigned long i, j;
+ unsigned long i, j, k;
int curr_free = 0, next_free = 0;
memset(avail, 0, sizeof(avail));
for ( i = 0; i < NR_ZONES; i++ )
- for ( j = 0; j <= MAX_ORDER; j++ )
- INIT_LIST_HEAD(&heap[i][j]);
+ for ( j = 0; j < MAX_NUMNODES; j++ )
+ for ( k = 0; k <= MAX_ORDER; k++ )
+ I...
2018 Feb 06
0
[PATCH] syslinux/core: Remove discrepancy between code comments and compiled code in malloc.h
...zeof(free_arena_header) == 32.
Signed-off-by: Brett Walker <brett.walker at geometry.com.au>
---
--- syslinux/core/mem/malloc.h.orig
+++ syslinux/core/mem/malloc.h
@@ -69,7 +69,7 @@ struct arena_header {
struct free_arena_header {
struct arena_header a;
struct free_arena_header *next_free, *prev_free;
- size_t _pad[ARENA_PADDING];
+ uint8_t _pad[ARENA_PADDING];
};
#define ARENA_SIZE_MASK (~(uintptr_t)(sizeof(struct arena_header)-1))
2011 Mar 08
6
[PATCH v1 0/6] btrfs: scrub
This series adds an initial implementation for scrub. It works quite
straightforward. The usermode issues an ioctl for each device in the
fs. For each device, it enumerates the allocated device chunks. For
each chunk, the contained extents are enumerated and the data checksums
fetched. The extents are read sequentially and the checksums verified.
If an error occurs (checksum or EIO), a good copy
2011 Jul 21
10
[PATCH v5 0/8] Btrfs scrub: print path to corrupted files and trigger nodatasum fixup
While testing raid-auto-repair patches I''m going to send out later, I just found
the very last bug in my current scrub patch series:
Changelog v4->v5:
- fixed a deadlock when fixup is taking longer while scrub is about to end
Original message follows:
------------------------
This patch set introduces two new features for scrub. They share the backref
iteration code which is the
2009 Feb 13
44
[PATCH 0/40] ocfs2: Detach ocfs2 metadata I/O from struct inode
The following series of patches attempts to detach metadata I/O from
struct inode. They are currently tied together pretty tightly.
Metadata reads happen via the ocfs2_read_blocks() functions, writes via
both jbd2 and ocfs2_write_blocks().
- Each inode has a cache of associated metadata blocks stored on its
ip_metadata_cache member. The ocfs2_read/write_blocks() functions
take a struct
2008 Apr 02
10
[PATCH 0/62] Ocfs2 updates for 2.6.26-rc1
The following series of patches comprises the bulk of our outstanding
changes for Ocfs2.
Aside from the usual set of cleanups and fixes that were inappropriate for
2.6.25, there are a few highlights:
The '/sys/o2cb' directory has been moved to '/sys/fs/o2cb'. The new location
meshes better with modern sysfs layout. A symbolic link has been placed in
the old location so as to
2011 Oct 04
68
[patch 00/65] Error handling patchset v3
Hi all -
Here''s my current error handling patchset, against 3.1-rc8. Almost all of
this patchset is preparing for actual error handling. Before we start in
on that work, I''m trying to reduce the surface we need to worry about. It
turns out that there is a ton of code that returns an error code but never
actually reports an error.
The patchset has grown to 65 patches. 46 of them