Print this page
OS-5370 panic in signalfd
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>

@@ -8,11 +8,11 @@
  * source.  A copy of the CDDL is also available via the Internet at
  * http://www.illumos.org/license/CDDL.
  */
 
 /*
- * Copyright 2015 Joyent, Inc.
+ * Copyright 2016 Joyent, Inc.
  */
 
 /*
  * Header file to support the signalfd facility. Note that this facility
  * is designed to be binary compatible with the Linux signalfd facility, modulo

@@ -73,17 +73,13 @@
 #else
 
 #define SIGNALFDMNRN_SIGNALFD   0
 #define SIGNALFDMNRN_CLONE      1
 
-typedef struct sigfd_wake_list {
-        list_node_t sigfd_wl_lst;
-        void *sigfd_wl_state;
-} sigfd_wake_list_t;
-
 /*
  * This holds the proc_t state for a process which is using signalfd.
+ * Its presence and contents are protected by p_lock.
  */
 typedef struct sigfd_proc_state {
         void (*sigfd_pollwake_cb)(void *, int);
         list_t sigfd_list;
 } sigfd_proc_state_t;