From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by gabe.freedesktop.org (Postfix) with ESMTPS id D03F2898ED for ; Tue, 17 Aug 2021 04:11:30 +0000 (UTC) Date: Mon, 16 Aug 2021 21:11:29 -0700 Message-ID: <87mtpgzp5a.wl-ashutosh.dixit@intel.com> From: "Dixit, Ashutosh" In-Reply-To: <87o89wzub2.wl-ashutosh.dixit@intel.com> References: <20210816115626.22759-1-zbigniew.kempczynski@intel.com> <20210816115626.22759-5-zbigniew.kempczynski@intel.com> <87o89wzub2.wl-ashutosh.dixit@intel.com> MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=US-ASCII Subject: Re: [igt-dev] [PATCH i-g-t 4/5] tests/gem_exec_schedule: Adopt to use allocator List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: igt-dev-bounces@lists.freedesktop.org Sender: "igt-dev" To: Zbigniew =?ISO-8859-2?Q?Kempczy=F1ski?= Cc: igt-dev@lists.freedesktop.org List-ID: On Mon, 16 Aug 2021 19:20:01 -0700, Dixit, Ashutosh wrote: > > > + for (i = 0; i < GEM_MAX_ENGINES; i++) > > + if (sema[i]) > > + igt_spin_free(i915, sema[i]); > > Did we create this array etc. to avoid the stall when the spin is freed and > the offset is reused? Or is there a different reason? A one line comment about why this was done would be nice prior to merging. > > Otherwise this is: > > Reviewed-by: Ashutosh Dixit