Please login to access the resource
Overview

Request 146706 superseded

- update to 1.3.7
librtas allocates buffer space (required for RTAS call) in the
RTAS private memory area through sc_get_rmo_buffer() which
internally allocates memory and protects it by acquiring
lock on the allocated memory area.

Locking function :
At present acquire_file_lock() tries to lock the particular
memory area. If the memory area is already locked then it
returns error without retrying.

So when two process executes rtas call simultaneously one fails
with "Unknown librtas I/O" error.

This patch introduces "Wait for lock to be available" instead
of returning with IO error.

- fixed minor memory leak in librtas.so (forwarded request 146701 from k0da)

Loading...
Request History
Ismail Dönmez's avatar

namtrac created request

- update to 1.3.7
librtas allocates buffer space (required for RTAS call) in the
RTAS private memory area through sc_get_rmo_buffer() which
internally allocates memory and protects it by acquiring
lock on the allocated memory area.

Locking function :
At present acquire_file_lock() tries to lock the particular
memory area. If the memory area is already locked then it
returns error without retrying.

So when two process executes rtas call simultaneously one fails
with "Unknown librtas I/O" error.

This patch introduces "Wait for lock to be available" instead
of returning with IO error.

- fixed minor memory leak in librtas.so (forwarded request 146701 from k0da)


Saul Goodman's avatar

licensedigger accepted review

{"approve": "preliminary, version number changed"}


Stephan Kulow's avatar

coolo declined review

there is no such macro as %_version


Stephan Kulow's avatar

coolo declined request

there is no such macro as %_version


Ismail Dönmez's avatar

namtrac superseded request

superseded by 147535

openSUSE Build Service is sponsored by