Print this page
NEX-2787 Multiple comstar / fibre channel / qlt threads stuck waiting on locks with a spinning interrupt thread
Reviewed by: Rob Gittins <rob.gittins@nexenta.com>
Approved by: Jean McCormack <jean.mccormack@nexenta.com>


   3 #
   4 # The contents of this file are subject to the terms of the
   5 # Common Development and Distribution License (the "License").
   6 # You may not use this file except in compliance with the License.
   7 #
   8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
   9 # or http://www.opensolaris.org/os/licensing.
  10 # See the License for the specific language governing permissions
  11 # and limitations under the License.
  12 #
  13 # When distributing Covered Code, include this CDDL HEADER in each
  14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  15 # If applicable, add the following below this CDDL HEADER, with the
  16 # fields enclosed by brackets "[]" replaced with your own identifying
  17 # information: Portions Copyright [yyyy] [name of copyright owner]
  18 #
  19 # CDDL HEADER END
  20 #
  21 #
  22 # Copyright 2007 Sun Microsystems, Inc.  All rights reserved.

  23 # Use is subject to license terms.
  24 #
  25 
  26 ROOTTERMINFO = $(ROOTSHLIB)/terminfo
  27 
  28 $(PROG).core: $(OBJS) $(KMDBLIBS) $(MAPFILE)
  29         $(LD) -r $(BREDUCE) $(ZNOVERSION) $(ZDEFS) -M$(MAPFILE) -o $@ $(OBJS) \
  30             $(KMDBLIBS)
  31 
  32 $(PROG): $(PROG).core $(KCTLOBJS)
  33         $(LD) -dy -r -o $@ $@.core -Nmisc/ctf $(KCTLOBJS)
  34         $(CTFMERGE) -L VERSION -o $@ $(OBJS) $(KCTLOBJS)
  35         $(KMDB_FPTEST)
  36         $(POST_PROCESS)
  37         $(SETDYNFLAG) -f DF_1_IGNMULDEF,DF_1_NOKSYMS $@
  38 
  39 clean.lint:
  40         $(RM) $(ALLLINTFILES)
  41 
  42 clean:


 116         $(COMPILE.c) -o $@ $<
 117         $(CTFCONVERT_O)
 118 
 119 %.o: ../../kmdb/kctl/%.s
 120         $(COMPILE.s) -o $@ $<
 121 
 122 %.o: ../../mdb/%.c
 123         $(COMPILE.c) -o $@ $<
 124         $(CTFCONVERT_O)
 125 
 126 %.o: %.c
 127         $(COMPILE.c) -o $@ $<
 128         $(CTFCONVERT_O)
 129 
 130 %.o: %.s
 131         $(COMPILE.s) -o $@ $<
 132 
 133 %.o: kctl/%.s
 134         $(COMPILE.s) -o $@ $<
 135 




 136 %.o: $(SRC)/common/net/util/%.c
 137         $(COMPILE.c) $<
 138         $(CTFCONVERT_O)
 139 
 140 %.o: $(SRC)/common/util/%.c
 141         $(COMPILE.c) $<
 142         $(CTFCONVERT_O)
 143 
 144 #
 145 # Lint
 146 #
 147 
 148 %.ln: ../../../common/kmdb/%.c
 149         $(LINT.c) -c $<
 150 
 151 %.ln: ../../../common/kmdb/kctl/%.c
 152         $(LINT.c) -c $<
 153 
 154 %.ln: ../../../common/kmdb/kctl/%.s
 155         $(LINT.s) -c $<


 164         $(LINT.s) -c $<
 165 
 166 %.ln: ../../kmdb/kctl/%.c
 167         $(LINT.c) -c $<
 168 
 169 %.ln: ../../kmdb/kctl/%.s
 170         $(LINT.s) -c $<
 171 
 172 %.ln: ../../mdb/%.c
 173         $(LINT.c) -c $<
 174 
 175 %.ln: %.c
 176         $(LINT.c) -c $<
 177 
 178 %.ln: %.s
 179         $(LINT.s) -c $<
 180 
 181 %.ln: kctl/%.s
 182         $(LINT.s) -c $<
 183 



 184 %.ln: $(SRC)/common/net/util/%.c
 185         $(LINT.c) -c $<
 186 
 187 %.ln: $(SRC)/common/util/%.c
 188         $(LINT.c) -c $<


   3 #
   4 # The contents of this file are subject to the terms of the
   5 # Common Development and Distribution License (the "License").
   6 # You may not use this file except in compliance with the License.
   7 #
   8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
   9 # or http://www.opensolaris.org/os/licensing.
  10 # See the License for the specific language governing permissions
  11 # and limitations under the License.
  12 #
  13 # When distributing Covered Code, include this CDDL HEADER in each
  14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  15 # If applicable, add the following below this CDDL HEADER, with the
  16 # fields enclosed by brackets "[]" replaced with your own identifying
  17 # information: Portions Copyright [yyyy] [name of copyright owner]
  18 #
  19 # CDDL HEADER END
  20 #
  21 #
  22 # Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
  23 # Copyright 2015 Nexenta Systems, Inc. All rights reserved.
  24 # Use is subject to license terms.
  25 #
  26 
  27 ROOTTERMINFO = $(ROOTSHLIB)/terminfo
  28 
  29 $(PROG).core: $(OBJS) $(KMDBLIBS) $(MAPFILE)
  30         $(LD) -r $(BREDUCE) $(ZNOVERSION) $(ZDEFS) -M$(MAPFILE) -o $@ $(OBJS) \
  31             $(KMDBLIBS)
  32 
  33 $(PROG): $(PROG).core $(KCTLOBJS)
  34         $(LD) -dy -r -o $@ $@.core -Nmisc/ctf $(KCTLOBJS)
  35         $(CTFMERGE) -L VERSION -o $@ $(OBJS) $(KCTLOBJS)
  36         $(KMDB_FPTEST)
  37         $(POST_PROCESS)
  38         $(SETDYNFLAG) -f DF_1_IGNMULDEF,DF_1_NOKSYMS $@
  39 
  40 clean.lint:
  41         $(RM) $(ALLLINTFILES)
  42 
  43 clean:


 117         $(COMPILE.c) -o $@ $<
 118         $(CTFCONVERT_O)
 119 
 120 %.o: ../../kmdb/kctl/%.s
 121         $(COMPILE.s) -o $@ $<
 122 
 123 %.o: ../../mdb/%.c
 124         $(COMPILE.c) -o $@ $<
 125         $(CTFCONVERT_O)
 126 
 127 %.o: %.c
 128         $(COMPILE.c) -o $@ $<
 129         $(CTFCONVERT_O)
 130 
 131 %.o: %.s
 132         $(COMPILE.s) -o $@ $<
 133 
 134 %.o: kctl/%.s
 135         $(COMPILE.s) -o $@ $<
 136 
 137 %.o: $(SRC)/common/list/%.c
 138         $(COMPILE.c) $<
 139         $(CTFCONVERT_O)
 140 
 141 %.o: $(SRC)/common/net/util/%.c
 142         $(COMPILE.c) $<
 143         $(CTFCONVERT_O)
 144 
 145 %.o: $(SRC)/common/util/%.c
 146         $(COMPILE.c) $<
 147         $(CTFCONVERT_O)
 148 
 149 #
 150 # Lint
 151 #
 152 
 153 %.ln: ../../../common/kmdb/%.c
 154         $(LINT.c) -c $<
 155 
 156 %.ln: ../../../common/kmdb/kctl/%.c
 157         $(LINT.c) -c $<
 158 
 159 %.ln: ../../../common/kmdb/kctl/%.s
 160         $(LINT.s) -c $<


 169         $(LINT.s) -c $<
 170 
 171 %.ln: ../../kmdb/kctl/%.c
 172         $(LINT.c) -c $<
 173 
 174 %.ln: ../../kmdb/kctl/%.s
 175         $(LINT.s) -c $<
 176 
 177 %.ln: ../../mdb/%.c
 178         $(LINT.c) -c $<
 179 
 180 %.ln: %.c
 181         $(LINT.c) -c $<
 182 
 183 %.ln: %.s
 184         $(LINT.s) -c $<
 185 
 186 %.ln: kctl/%.s
 187         $(LINT.s) -c $<
 188 
 189 %.ln: $(SRC)/common/list/%.c
 190         $(LINT.c) -c $<
 191 
 192 %.ln: $(SRC)/common/net/util/%.c
 193         $(LINT.c) -c $<
 194 
 195 %.ln: $(SRC)/common/util/%.c
 196         $(LINT.c) -c $<