Displaying 9 results from an estimated 9 matches for "_unlocked".
Did you mean:
unlocked
2020 Jul 25
0
[klibc:master] stdio: Define all the _unlocked functions and macros
...libc/klibc.git;a=commit;h=8c056cab6c8cce0b5dbc2c3141060f89a6ffc905
Author: Ben Hutchings <ben at decadent.org.uk>
AuthorDate: Sat, 25 Jul 2020 21:18:30 +0100
Committer: Ben Hutchings <ben at decadent.org.uk>
CommitDate: Sat, 25 Jul 2020 21:44:14 +0100
[klibc] stdio: Define all the _unlocked functions and macros
Clang 9.0 can optimise stdio function calls to use the _unlocked
variants, presumably based on escape analysis. We don't define many
of them, and adding a lot of -fno-builtin-* options to inhibit this
seems like a losing battle.
Since we don't support multi-threaded...
2015 Sep 09
2
[PATCH 1/5] virtio-gpu: add virtio_gpu_queue_ctrl_buffer_nolock
Add virtio_gpu_queue_ctrl_buffer_nolock function, which does the same as
virtio_gpu_queue_ctrl_buffer but does not take the virtqueue lock. The
caller must hold the lock instead.
Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>
---
drivers/gpu/drm/virtio/virtgpu_vq.c | 17 +++++++++++++----
1 file changed, 13 insertions(+), 4 deletions(-)
diff --git
2015 Sep 09
2
[PATCH 1/5] virtio-gpu: add virtio_gpu_queue_ctrl_buffer_nolock
Add virtio_gpu_queue_ctrl_buffer_nolock function, which does the same as
virtio_gpu_queue_ctrl_buffer but does not take the virtqueue lock. The
caller must hold the lock instead.
Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>
---
drivers/gpu/drm/virtio/virtgpu_vq.c | 17 +++++++++++++----
1 file changed, 13 insertions(+), 4 deletions(-)
diff --git
2020 Aug 22
0
[ANNOUNCE] klibc 2.0.8
...rnel.org/pub/scm/libs/klibc/klibc.git
and as a tarball at:
https://mirrors.kernel.org/pub/linux/libs/klibc/2.0/
New features:
- Support for building with clang and lld, at least on x86
- Defined sysconf(), initially supporting only _SC_PAGE_SIZE
- Defined clearerr() as extern
- Defined stdio _unlocked functions and macros
- Support for building without bash
Bug fixes:
- Fix build regression with gcc 10
- Executable stacks are disabled on architectures where they are not
needed
- fstype no longer checks whether an ext4 module is installed, which
did not work correctly with compressed modules...
2020 Jul 25
2
[kvm-unit-tests PATCH v3 0/4] Update patch set
...d.klibc.
>
> I'm just going to apply this series now, and we can worry about
> cleaning up the FLAGS variable definitions later.
>
> Thanks for your patience,
[...]
Unfortunately this doesn't work with Clang and lld 9.0.1.
Clang is now optimising some stdio calls to their _unlocked variants,
which we don't define. I added definitions of all those, and was then
able to able to build everything with Clang and ld.bfd. I've pushed
that change following these patches.
However, when I use Clang and ld.lld, it fails to link dynamically-
linked programs:
ld.lld: error...
2020 Jul 25
0
[kvm-unit-tests PATCH v3 0/4] Update patch set
...g to apply this series now, and we can worry about
> > cleaning up the FLAGS variable definitions later.
> >
> > Thanks for your patience,
> [...]
>
> Unfortunately this doesn't work with Clang and lld 9.0.1.
>
> Clang is now optimising some stdio calls to their _unlocked variants,
> which we don't define. I added definitions of all those, and was then
> able to able to build everything with Clang and ld.bfd. I've pushed
> that change following these patches.
>
> However, when I use Clang and ld.lld, it fails to link dynamically-
> linked...
2015 Sep 10
0
[PATCH 1/5] virtio-gpu: add virtio_gpu_queue_ctrl_buffer_nolock
...axel at redhat.com> wrote:
> > Add virtio_gpu_queue_ctrl_buffer_nolock function, which does the same as
> > virtio_gpu_queue_ctrl_buffer but does not take the virtqueue lock. The
> > caller must hold the lock instead.
> >
> The drm subsystem tends to use *_locked and *_unlocked suffixes. With
> the latter being less common.
> Not a big deal but perhaps you can use one of those for virtio ?
_locked looks correct for this case to me (looking at drm_vm_close +
drm_vm_close_locked to compare). I'll change it.
cheers,
Gerd
2015 Sep 10
0
[PATCH 1/5] virtio-gpu: add virtio_gpu_queue_ctrl_buffer_nolock
...:42, Gerd Hoffmann <kraxel at redhat.com> wrote:
> Add virtio_gpu_queue_ctrl_buffer_nolock function, which does the same as
> virtio_gpu_queue_ctrl_buffer but does not take the virtqueue lock. The
> caller must hold the lock instead.
>
The drm subsystem tends to use *_locked and *_unlocked suffixes. With
the latter being less common.
Not a big deal but perhaps you can use one of those for virtio ?
Cheers,
Emil
2020 Mar 29
7
[kvm-unit-tests PATCH v3 0/4] Update patch set
- Renamed IMAGE_BASE to LD_IMAGE_BASE_OPT.
- Moved "-fcommon" to KLIBCREQFLAGS in scripts/Kbuild.klibc.
- Remove "dash" warning fixes which have been upstreamed.
- Conditionalize the inclusion of compiler flags by using the proper
compiler name or "cc-option".
- Added "-Werror" to "cc-option" to catch flags that cause warnings.
- Retain