Displaying 20 results from an estimated 40 matches for "stack_size".
2013 Aug 09
14
[Patch 0/4] Xen stack trace printing improvements
This series consists of improvements to Xen''s ability to print traces of its
own stack, and specifically for the stack overflow case to be able to use
frame pointers in a debug build.
I have dev tested the series in debug and non-debug cases, with and without
memory guards, and I believe that all the stack traces look correct. However,
I would greatly appreciate a second opinion on the
2017 Nov 29
0
[RFC] Making .eh_frame more linker-friendly
>>> With GNU gold (GNU Binutils 2.29.51.20171006) 1.14 have an assert:
>>> ~/LLVM/Release/bin/clang++ test.cpp -ffunction-sections -o test.o
>>> /usr/local/bin/ld: internal error in layout_eh_frame_section, at
>>> .././../gold/object.cc:1309
>>> It is that place:
>>> https://github.com/gittup/binutils/blob/gittup/gold/object.cc#L1372
2013 Nov 18
12
[Patch v3 0/4] Xen stack trace printing improvements
This series consists of improvements to Xen''s ability to print traces of its
own stack, and specifically for the stack overflow case to be able to use
frame pointers in a debug build.
I have dev tested the series in debug and non-debug cases, with and without
memory guards, and I believe that all the stack traces look correct (given the
available information Xen has), and that the
2017 Nov 29
2
[RFC] Making .eh_frame more linker-friendly
>> With GNU gold (GNU Binutils 2.29.51.20171006) 1.14 have an assert:
>> ~/LLVM/Release/bin/clang++ test.cpp -ffunction-sections -o test.o
>> /usr/local/bin/ld: internal error in layout_eh_frame_section, at
>> .././../gold/object.cc:1309
>> It is that place:
>> https://github.com/gittup/binutils/blob/gittup/gold/object.cc#L1372
>> Did not investigate it,
2018 Mar 28
2
[RFC] Making .eh_frame more linker-friendly
...ou do any profiling of the code? Were the slowdowns
you were seeing fundamental (i.e. due to IO) or could a more optimal
implementation reduce the slowdown? Did you do any end to end
timings for compilation + link time?
The same issues arise for all metadata sections:
.eh_frame
.debug_*
.stack_sizes
etc...
In our proprietary linker we've had to implement special handling
for each of these sections, which we'd love to be able to remove or
reduce.
One fundamental problem is overhead. I posted about
this on the gabi list:
https://groups.google.com/d/msg/generic-abi/A-1rbP8hF...
2011 Jul 28
4
[LLVMdev] [RFC] Coroutines
...M:
// Returns the size of a coroutine descriptor.
i32 llvm.coroutine_descriptor_size()
// Creates a new coroutine, which starts off with the function
// `function' being called with the argument `baton'. For this to
// work correctly, function must be of the type `void () (i8 *)'.
// `stack_size' will be the initial stack size. `descriptor' is a
// block of memory with at least as many bytes as returned by
// llvm.coroutine_descriptor_size().
void llvm.coroutine_new(i8 *descriptor, i8 *function, i8 *baton, i32
stack_size)
// Store the state of the current coroutine in `this'...
2020 Sep 18
2
Making library calls for obj2yaml functionalities
...quires the linker and other tools to
> have to do unnecessary string comparisons, which are slower and messier
> than switching on the sh_type field.
>
Yes, having a specific ELF section type would be great. Though I am
clueless about how this change will be received given that the
".stack_sizes" section also uses SHT_PROGBITS. I can definitely look into
it if I get some assurance.
James
>
> On Wed, 16 Sep 2020 at 22:00, Rahman Lavaee <rahmanl at google.com> wrote:
>
>> Hi All,
>>
>> Following up on
>> https://lists.llvm.org/pipermail/llvm-dev/...
2012 Mar 09
10
[PATCH 0 of 9] (v2) arm: SMP boot
This patch series implements SMP boot for arch/arm, as far as getting
all CPUs up and running the idle loop.
Changes from v1:
- moved barriers out of loop in udelay()
- dropped broken GIC change in favour of explanatory comment
- made the increment of ready_cpus atomic (I couldn''t move the
increment to before signalling the next CPU because the PT
switch has to happen between
2001 Jun 19
3
RJava lib error
Hello all!
I recently install R-1.2.3 and Omegahat SJava pkg
(formely Java pkg) 0.62 and tried running the examples
by issuing "scripts/RJava --example --gui=none" and I
got the following:
Error in dyn.load(x, as.logical(local),
as.logical(now)) :
unable to load shared library
"/usr/lib/R/library/ctest/libs/ctest.so":
ld.so.1:
2011 Aug 04
0
[LLVMdev] [RFC] Coroutines
...coroutine descriptor.
> i32 llvm.coroutine_descriptor_size()
>
> // Creates a new coroutine, which starts off with the function
> // `function' being called with the argument `baton'. For this to
> // work correctly, function must be of the type `void () (i8 *)'.
> // `stack_size' will be the initial stack size. `descriptor' is a
> // block of memory with at least as many bytes as returned by
> // llvm.coroutine_descriptor_size().
>
> void llvm.coroutine_new(i8 *descriptor, i8 *function, i8 *baton, i32
> stack_size)
>
> // Store the state of the...
2003 Nov 21
2
[LLVMdev] Need Help With Verifier
...that the verifier output for the
second operand indicates a two dimensional array. This just isn't right,
its one dimensional. Here's how I create the global array for the stack
(used to form the "gep" in the above code):
> ArrayType* stack_type = ArrayType::get( Type::IntTy, stack_size );
>
> TheStack = new GlobalVariable(
> /*type=*/ stack_type,
> /*isConstant=*/ false,
> /*Linkage=*/ GlobalVal...
2013 Sep 26
8
[PATCH v5 0/7] Dissociate logical and gic/hardware CPU ID
Hi,
This is the fifth version of this patch series.
With the Versatile Express TC2, it''s possible to boot only with A7 or A15. If
the user choose to boot with only A7, the CPU ID will start at 0x100. As Xen
relies on it to set the logical ID and the GIC, it won''t be possible to use
Xen with this use case.
This patch series is divided in 3 parts:
- Patch 1: prepare Xen
2011 Mar 01
0
python stack size in centos 5.5
Hi all,
Centos 5.5 comes with Python 2.4.3.
I wish to increase the env size for my Python shells and found this
although it pertains to Python 2.5;
thread.stack_size([size])
Any one have some pearls for me wether this works in <2.5 or the best
way to give my Python shells more memory?
I'm scheduled to tackle this tonight and would like to prep myself.
Thanks in advance,
- aurf
2012 Jul 02
4
Xen EFI boot how to?
I have a IBM System x3600 series server with UEFI.
I managed to compile the xen EFI (xen-4.2-unstable.efi).
The machine is currently running Ubuntu with grub2.
I can see a grubx64.efi in /boot/efi/EFI/ubuntu/grubx64.efi
Where should I put the xen efi ?
I tried creating a efi/EFI/xen/xen-4.2-unstable.efi and added it as a boot option using efibootmgr.
All I get in that case is a blank screen.
I
2004 Dec 08
4
malloc in libcom32 broken?
...ello.o
../libutil/libutil_com.a ../lib/libcom32.a
/usr/lib64/gcc-lib/x86_64-suse-linux/3.3.3/32/libgcc.a
../lib/libcom32.a(malloc.o)(.text+0x13): In function
`init_memory_arena':
/home/hpa/oss/syslinux/release/syslinux-2.12-pre/syslinux-2.12-pre7/com32/lib/malloc.c:42:
undefined reference to `__stack_size'
../lib/libcom32.a(malloc.o)(.text+0x2a):/home/hpa/oss/syslinux/release/syslinux-2.12-pre/syslinux-2.12-pre7/com32/lib/malloc.c:43:
undefined reference to `__stack_size'
../lib/libcom32.a(malloc.o)(.text+0x2f):/home/hpa/oss/syslinux/release/syslinux-2.12-pre/syslinux-2.12-pre7/com32/lib/mal...
2008 Jan 18
0
[PATCH] minios: support COW for a zero page
...Continuing here would cause
a recursive fault */
diff -r 27ad7ed41be2 extras/mini-os/include/ia64/arch_mm.h
--- a/extras/mini-os/include/ia64/arch_mm.h Fri Jan 18 15:55:13 2008 +0000
+++ b/extras/mini-os/include/ia64/arch_mm.h Fri Jan 18 16:02:32 2008 +0000
@@ -37,5 +37,7 @@
#define STACK_SIZE (PAGE_SIZE * (1 << STACK_SIZE_PAGE_ORDER))
#define map_frames(f, n) map_frames_ex(f, n, 1, 0, 1, DOMID_SELF, 0, 0)
+/* TODO */
+#define map_zero(n, a) map_frames_ex(NULL, n, 0, 0, a, DOMID_SELF, 0, 0)
#endif /* __ARCH_MM_H__ */
diff -r 27ad7ed41be2 extras/mini-os/include/ty...
2007 Oct 15
0
8 commits - libswfdec/swfdec_as_interpret.c libswfdec/swfdec_sound.c libswfdec/swfdec_sound.h test/trace
...)
diff --git a/libswfdec/swfdec_as_interpret.c b/libswfdec/swfdec_as_interpret.c
index 2d8b733..a3c0c15 100644
--- a/libswfdec/swfdec_as_interpret.c
+++ b/libswfdec/swfdec_as_interpret.c
@@ -1599,9 +1599,6 @@ swfdec_action_start_drag (SwfdecAsContext *cx, guint action, const guint8 *data,
guint stack_size = 3;
swfdec_as_stack_ensure_size (cx, 3);
- if (swfdec_as_interpret_eval (cx, NULL, swfdec_as_stack_peek (cx, 1)) == SWFDEC_AS_STR_EMPTY) {
- SWFDEC_AS_VALUE_SET_OBJECT (swfdec_as_stack_peek (cx, 1), cx->frame->target);
- }
center = swfdec_as_value_to_boolean (cx, swfdec_as_stack...
2007 Jan 29
0
Branch 'interpreter' - 18 commits - libswfdec/swfdec_image.c libswfdec/swfdec_image.h libswfdec/swfdec_js.c libswfdec/swfdec_js_color.c libswfdec/swfdec_js_sound.c libswfdec/swfdec_pattern.c libswfdec/swfdec_scriptable.c libswfdec/swfdec_script.c
...;
i++;
}
@@ -1006,6 +1009,51 @@ swfdec_action_set_target2 (JSContext *cx
return swfdec_action_do_set_target (cx, JSVAL_TO_OBJECT (val));
}
+static JSBool
+swfdec_action_start_drag (JSContext *cx, guint action, const guint8 *data, guint len)
+{
+ JSStackFrame *fp = cx->fp;
+ guint stack_size = fp->sp - fp->spbase;
+ guint n_args = 1;
+
+ if (stack_size < 3)
+ return JS_FALSE;
+ if (!swfdec_eval_jsval (cx, NULL, &fp->sp[-1]))
+ return JS_FALSE;
+ if (swfdec_action_to_number (cx, fp->sp[-3])) {
+ jsval tmp;
+ if (stack_size < 7)
+ return JS_FALS...
2007 Mar 09
0
17 commits - libswfdec/js libswfdec/swfdec_js.c libswfdec/swfdec_js_global.c libswfdec/swfdec_js.h libswfdec/swfdec_js_movie.c libswfdec/swfdec_movie.c libswfdec/swfdec_player.c libswfdec/swfdec_player_internal.h libswfdec/swfdec_root_movie.c
...(!swfdec_script_ensure_stack (cx, n_args + 3))
return JS_FALSE;
if (!JS_ValueToObject (cx, fp->sp[-2], &obj))
@@ -1343,16 +1380,15 @@ static JSBool
swfdec_action_start_drag (JSContext *cx, guint action, const guint8 *data, guint len)
{
JSStackFrame *fp = cx->fp;
- guint stack_size = fp->sp - fp->spbase;
guint n_args = 1;
- if (stack_size < 3)
+ if (!swfdec_script_ensure_stack (cx, 3))
return JS_FALSE;
if (!swfdec_eval_jsval (cx, NULL, &fp->sp[-1]))
return JS_FALSE;
if (swfdec_value_to_number (cx, fp->sp[-3])) {
jsval tmp;
- i...
2023 May 22
3
[PATCH 0/3] vhost: Fix freezer/ps regressions
The following patches made over Linus's tree fix the 2 bugs:
1. vhost worker task shows up as a process forked from the parent
that did VHOST_SET_OWNER ioctl instead of a process under root/kthreadd.
This was causing breaking scripts.
2. vhost_tasks didn't disable or add support for freeze requests.
The following patches fix these issues by making the vhost_task task
a thread under the