lkml.org 
[lkml]   [2004]   [Feb]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    SubjectNon-GPL export of invalidate_mmap_range
    Hello, Andrew,

    The attached patch to make invalidate_mmap_range() non-GPL exported
    seems to have been lost somewhere between 2.6.1-mm4 and 2.6.1-mm5.
    It still applies cleanly. Could you please take it up again?

    Thanx, Paul

    ------------------------------------------------------------------------



    It was EXPORT_SYMBOL_GPL(), however IBM's GPFS is not GPL.

    - the GPFS team contributed to the testing and development of
    invaldiate_mmap_range().

    - GPFS was developed under AIX and was ported to Linux, and hence meets
    Linus's "some binary modules are OK" exemption.

    - The export makes sense: clustering filesystems need it for shootdowns to
    ensure cache coherency.



    25-akpm/mm/memory.c | 2 +-
    1 files changed, 1 insertion(+), 1 deletion(-)

    diff -puN mm/memory.c~invalidate_mmap_range-non-gpl-export mm/memory.c
    --- 25/mm/memory.c~invalidate_mmap_range-non-gpl-export Mon Nov 24 11:33:19 2003
    +++ 25-akpm/mm/memory.c Mon Nov 24 11:33:34 2003
    @@ -1164,7 +1164,7 @@ void invalidate_mmap_range(struct addres
    invalidate_mmap_range_list(&mapping->i_mmap_shared, hba, hlen);
    up(&mapping->i_shared_sem);
    }
    -EXPORT_SYMBOL_GPL(invalidate_mmap_range);
    +EXPORT_SYMBOL(invalidate_mmap_range);

    /*
    * Handle all mappings that got truncated by a "truncate()"
    _
    -
    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/

    \
     
     \ /
      Last update: 2005-03-22 14:01    [W:0.021 / U:0.692 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site