Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1276655

Re: [PATCH] staging/android: add TODO to de-stage android sync framework

From Greg Hackmann <ghackmann@google.com>
Newsgroups linux.kernel
Subject Re: [PATCH] staging/android: add TODO to de-stage android sync framework
Date 2015-11-24 18:00 +0100
Message-ID <qyp6H-2hl-39@gated-at.bofh.it> (permalink)
References <qy5hE-6fV-23@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 11/23/15 11:41 AM, Gustavo Padovan wrote:
> + - remove sw_sync, it is used only for testing/debugging and should not be
> +upstreamed.
> + - port sw_sync testcases to use debugfs somehow

A quick but important nitpick:

sw_sync itself is just an in-kernel helper for creating fences, when you 
don't have something like sync timeline primitives baked into your hardware.

CONFIG_SW_SYNC_USER adds the interface for creating and signaling 
sw_sync objects from userspace.  This is the part that's dangerous and 
only intended for testing, etc.

AFAIK CONFIG_SW_SYNC_USER is the only part people have been objecting 
to.  I'm fine with removing it.  Removing the kernel-facing side of 
sw_sync would be a problem for us, since many drivers use it to create 
their fences.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH] staging/android: add TODO to de-stage android sync framework Gustavo Padovan <gustavo@padovan.org> - 2015-11-23 20:50 +0100
  Re: [PATCH] staging/android: add TODO to de-stage android sync  framework Daniel Vetter <daniel@ffwll.ch> - 2015-11-24 10:00 +0100
    Re: [PATCH] staging/android: add TODO to de-stage android sync  framework Daniel Vetter <daniel@ffwll.ch> - 2015-11-24 10:00 +0100
      Re: [PATCH] staging/android: add TODO to de-stage android sync  framework Greg Hackmann <ghackmann@google.com> - 2015-11-24 18:30 +0100
  Re: [PATCH] staging/android: add TODO to de-stage android sync  framework Greg Hackmann <ghackmann@google.com> - 2015-11-24 18:00 +0100
    Re: [PATCH] staging/android: add TODO to de-stage android sync  framework Gustavo Padovan <gustavo@padovan.org> - 2015-11-24 18:40 +0100

csiph-web