Print this page
11909 THREAD_KPRI_RELEASE does nothing of the sort
Reviewed by: Bryan Cantrill <bryan@joyent.com>
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>

*** 19,29 **** * CDDL HEADER END */ /* * Copyright 2009 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. ! * Copyright 2011 Joyent, Inc. All rights reserved. */ /* * Copyright (c) 2016 by Delphix. All rights reserved. */ --- 19,29 ---- * CDDL HEADER END */ /* * Copyright 2009 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. ! * Copyright 2019 Joyent, Inc. */ /* * Copyright (c) 2016 by Delphix. All rights reserved. */
*** 1378,1388 **** /* Initialize bp->b_sem in "locked" state */ sema_init(&bp->b_sem, 0, NULL, SEMA_DEFAULT, NULL); VN_HOLD(vp); bp->b_vp = vp; - THREAD_KPRI_RELEASE_N(btopr(len)); /* release kpri from page_locks */ /* * Caller sets dev & blkno and can adjust * b_addr for page offset and can use bp_mapin * to make pages kernel addressable. --- 1378,1387 ----