[PATCH 3/3] smpschedaffinity05: Change semaphore attributes.

2014-11-12 Thread Jennifer Averett
Change semaphore attributes to resolve problem where semaphore is not released upon a context switch. --- testsuites/smptests/smpschedaffinity05/init.c | 9 +++-- 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/testsuites/smptests/smpschedaffinity05/init.c

Re: [PATCH 3/3] smpschedaffinity05: Change semaphore attributes.

2014-11-12 Thread Gedare Bloom
Are there still tests for when the lock would be held despite the context switch? Just want to make sure we're not removing some test-case. On Wed, Nov 12, 2014 at 9:48 AM, Jennifer Averett jennifer.aver...@oarcorp.com wrote: Change semaphore attributes to resolve problem where semaphore is not

Re: [PATCH 3/3] smpschedaffinity05: Change semaphore attributes.

2014-11-12 Thread Joel Sherrill
On 11/12/2014 9:10 AM, Gedare Bloom wrote: Are there still tests for when the lock would be held despite the context switch? Just want to make sure we're not removing some test-case. That wasn't the purpose of this test. It was to abuse the affinity algorithm and cause migrations. Daniel

Re: [PATCH 3/3] smpschedaffinity05: Change semaphore attributes.

2014-11-12 Thread Sebastian Huber
On 12/11/14 16:39, Joel Sherrill wrote: Daniel Cederman found a bug in the semaphore used to protect the data used to control the threads and migration. What is this for a bug? -- Sebastian Huber, embedded brains GmbH Address : Dornierstr. 4, D-82178 Puchheim, Germany Phone : +49 89 189 47

RE: [PATCH 3/3] smpschedaffinity05: Change semaphore attributes.

2014-11-12 Thread Jennifer Averett
, November 12, 2014 9:41 AM To: Joel Sherrill; Gedare Bloom; Jennifer Averett Cc: rtems-de...@rtems.org Subject: Re: [PATCH 3/3] smpschedaffinity05: Change semaphore attributes. On 12/11/14 16:39, Joel Sherrill wrote: Daniel Cederman found a bug in the semaphore used to protect the data used

RE: [PATCH 3/3] smpschedaffinity05: Change semaphore attributes.

2014-11-12 Thread Joel Sherrill
...@rtems.org Subject: Re: [PATCH 3/3] smpschedaffinity05: Change semaphore attributes. On 12/11/14 16:39, Joel Sherrill wrote: Daniel Cederman found a bug in the semaphore used to protect the data used to control the threads and migration. What is this for a bug? -- Sebastian Huber

RE: [PATCH 3/3] smpschedaffinity05: Change semaphore attributes.

2014-11-12 Thread Jennifer Averett
-Original Message- From: Joel Sherrill [mailto:joel.sherr...@oarcorp.com] Sent: Wednesday, November 12, 2014 10:16 AM To: Jennifer Averett; Sebastian Huber; Gedare Bloom Cc: rtems-de...@rtems.org Subject: RE: [PATCH 3/3] smpschedaffinity05: Change semaphore attributes. Jennifer