Re: [PATCH v7 10/17] mm: uninline the main body of vma_start_write()

Christoph Hellwig
2025-04-08T06:02:10Z

On Tue, Apr 08, 2025 at 12:39:25PM +0800, Eric Naim wrote:
> The out-of-tree NVIDIA modules seem to rely on this symbol, is it possible to use EXPORT_SYMBOL() here instead of EXPORT_SYMBOL_GPL(), below is the modpost error:

No. They don't have any business using this.

In fact vma_start_write should not be exported at all, just the
vm_flags_{set,clear,mod} helpers.