Changeset 0aae87a6 in mainline for kernel


Ignore:
Timestamp:
2012-11-09T19:33:11Z (13 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
67b152e
Parents:
3b8a990
Message:

Unify the default stack size used by userspace threads and fibrils.

  • The size is stored by the kernel into sysinfo.
  • stack_size_get() reads this value from sysinfo and caches it locally.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/src/main/kinit.c

    r3b8a990 r0aae87a6  
    172172#endif /* CONFIG_KCONSOLE */
    173173       
     174        /*
     175         * Store the default stack size in sysinfo so that uspace can create
     176         * stack with this default size.
     177         */
     178        sysinfo_set_item_val("default.stack_size", NULL, STACK_SIZE);
     179       
    174180        interrupts_enable();
    175181       
Note: See TracChangeset for help on using the changeset viewer.