lkml.org 
[lkml]   [2022]   [Aug]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH v5 29/32] d_path: prt_path()
    On Mon, Aug 08, 2022 at 03:41:25AM +0100, Matthew Wilcox (Oracle) wrote:
    > From: Kent Overstreet <kent.overstreet@gmail.com>
    >
    > This implements a new printbuf version of d_path()/mangle_path(), which
    > will replace the seq_buf version.
    >
    > Part of what we're trying to do with printbufs is standardizing a
    > calling convention so they don't have to live in lib/vsprintf.c, and can
    > instead with the code for the types they're printing - so this patch
    > adds prt_path() to d_path.c, another patch will switch vsprintf.c to use
    > it.

    To use it for *what*? If you mean replacing %pd with it - forget about that.
    Not going to happen.

    There's a hard requirement for printk - it should be safe to call in any
    locking environment. d_path() isn't, and that's impossible to avoid.

    \
     
     \ /
      Last update: 2022-08-08 06:18    [W:4.181 / U:0.272 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site