[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CACRpkdZd0FVSee-PbNdW8+fmkvV802jS45xLk4Of8-+WseiZxg@mail.gmail.com>
Date: Wed, 21 Feb 2024 22:45:56 +0100
From: Linus Walleij <linus.walleij@...aro.org>
To: Bartosz Golaszewski <brgl@...ev.pl>
Cc: paulmck@...nel.org, Kent Gibson <warthog618@...il.com>, Alex Elder <elder@...aro.org>,
Geert Uytterhoeven <geert+renesas@...der.be>,
Andy Shevchenko <andriy.shevchenko@...ux.intel.com>, Wolfram Sang <wsa@...-dreams.de>,
Mark Brown <broonie@...nel.org>, Dan Carpenter <dan.carpenter@...aro.org>,
linux-gpio@...r.kernel.org, linux-kernel@...r.kernel.org,
Bartosz Golaszewski <bartosz.golaszewski@...aro.org>
Subject: Re: [PATCH v2 0/4] gpio: fix SRCU bugs
On Wed, Feb 14, 2024 at 8:08 PM Bartosz Golaszewski <brgl@...ev.pl> wrote:
> Unfortunately, it's hard to fix 15 years of technical debt. :(
If it's any consolation I didn't create this one technical debt on purpose.
The actual mistake creating it goes something like: /dev/gpiochipN files are
nice and we can clean up after a file handle is closed or terminated,
I wonder why people insist on using sysfs for so many things.
All the file semantics of handles going away by being used etc, that's
why sysfs is good. I was too inexperienced to understand that, or I would
have paid more attention...
Yet I think we ended up in a reasonable place.
Yours,
Linus Walleij
Powered by blists - more mailing lists