Parcourir la source

[LibOS] clone: Remove stale comment

Isaku Yamahata il y a 4 ans
Parent
commit
af7a7c2f3a
1 fichiers modifiés avec 0 ajouts et 7 suppressions
  1. 0 7
      LibOS/shim/src/sys/shim_clone.c

+ 0 - 7
LibOS/shim/src/sys/shim_clone.c

@@ -107,13 +107,6 @@ static void fixup_child_context(struct shim_regs * regs)
  * 7.In the wrapper function ,we just do the stack switch to user
  *   Provided stack and execute the user Provided function.
  */
-
-/* glibc needs space offset by fs.  In the absence of a good way to predict
- * how big the struct pthread will be (defined in nptl/descr.h),
- * let's just define a value that over-shoots it.
- */
-#define PTHREAD_PADDING 2048
-
 static int clone_implementation_wrapper(struct shim_clone_args * arg)
 {
     //The child thread created by PAL is now running on the